mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 04:45:01 +00:00
[red-knot] Prefix Type::call
and dunder_call
with try
(#16261)
This commit is contained in:
parent
16d0625dfb
commit
fb09d63e55
4 changed files with 50 additions and 87 deletions
|
@ -246,7 +246,6 @@ impl<'db> SemanticIndex<'db> {
|
|||
}
|
||||
|
||||
/// Returns an iterator over all ancestors of `scope`, starting with `scope` itself.
|
||||
#[allow(unused)]
|
||||
pub(crate) fn ancestor_scopes(&self, scope: FileScopeId) -> AncestorsIter {
|
||||
AncestorsIter::new(self, scope)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue