diff options
author | Aleksey Kladov <[email protected]> | 2019-11-21 11:13:49 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-21 11:13:49 +0000 |
commit | 061e6c77b5fdb63aa1cad63f1420a7fc810fa17d (patch) | |
tree | c24ffc3fe582c84ad78be3129aef472253b5d9f7 /crates/ra_hir/src/code_model.rs | |
parent | 621cf06156975f8bd75e35af46da034f72e11fad (diff) |
Decouple
Diffstat (limited to 'crates/ra_hir/src/code_model.rs')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index 550ab1a98..c4935c0d7 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -829,7 +829,7 @@ impl Trait { | |||
829 | } | 829 | } |
830 | 830 | ||
831 | fn direct_super_traits(self, db: &impl HirDatabase) -> Vec<Trait> { | 831 | fn direct_super_traits(self, db: &impl HirDatabase) -> Vec<Trait> { |
832 | let resolver = self.resolver(db); | 832 | let resolver = self.id.resolver(db); |
833 | // returning the iterator directly doesn't easily work because of | 833 | // returning the iterator directly doesn't easily work because of |
834 | // lifetime problems, but since there usually shouldn't be more than a | 834 | // lifetime problems, but since there usually shouldn't be more than a |
835 | // few direct traits this should be fine (we could even use some kind of | 835 | // few direct traits this should be fine (we could even use some kind of |