[red-knot] Prefix Type::call and dunder_call with try (#16261)

This commit is contained in:
Micha Reiser 2025-02-20 09:05:04 +00:00 committed by GitHub
parent 16d0625dfb
commit fb09d63e55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 50 additions and 87 deletions

View file

@ -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)
}