diff options
Diffstat (limited to 'crates/ra_hir/src/code_model')
-rw-r--r-- | crates/ra_hir/src/code_model/src.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model/src.rs b/crates/ra_hir/src/code_model/src.rs index 59cda2e89..b9d21bdd7 100644 --- a/crates/ra_hir/src/code_model/src.rs +++ b/crates/ra_hir/src/code_model/src.rs | |||
@@ -88,7 +88,7 @@ impl HasSource for Const { | |||
88 | impl HasSource for Static { | 88 | impl HasSource for Static { |
89 | type Ast = ast::StaticDef; | 89 | type Ast = ast::StaticDef; |
90 | fn source(self, db: &impl DefDatabase) -> Source<ast::StaticDef> { | 90 | fn source(self, db: &impl DefDatabase) -> Source<ast::StaticDef> { |
91 | self.id.source(db) | 91 | self.id.lookup(db).source(db) |
92 | } | 92 | } |
93 | } | 93 | } |
94 | impl HasSource for Trait { | 94 | impl HasSource for Trait { |