mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Decouple
This commit is contained in:
parent
621cf06156
commit
061e6c77b5
6 changed files with 108 additions and 78 deletions
|
@ -829,7 +829,7 @@ impl Trait {
|
|||
}
|
||||
|
||||
fn direct_super_traits(self, db: &impl HirDatabase) -> Vec<Trait> {
|
||||
let resolver = self.resolver(db);
|
||||
let resolver = self.id.resolver(db);
|
||||
// returning the iterator directly doesn't easily work because of
|
||||
// lifetime problems, but since there usually shouldn't be more than a
|
||||
// few direct traits this should be fine (we could even use some kind of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue