diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-12 13:25:59 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-12 13:25:59 +0000 |
commit | d8dba7fbe587ba5fb6cfe939083ccd92c61f5827 (patch) | |
tree | c50b695604c7d418fc107775b9ec3a6845062751 /crates/ra_hir/src/has_source.rs | |
parent | b2638fcd2cc847e008e1dd7f1739283813b94026 (diff) | |
parent | 7b0644d81e52d00a7a6795b187f356213ff68225 (diff) |
Merge #2537
2537: Switch to the new location for impls r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/has_source.rs')
-rw-r--r-- | crates/ra_hir/src/has_source.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/has_source.rs b/crates/ra_hir/src/has_source.rs index b09582f93..a888fe995 100644 --- a/crates/ra_hir/src/has_source.rs +++ b/crates/ra_hir/src/has_source.rs | |||
@@ -114,7 +114,7 @@ impl HasSource for MacroDef { | |||
114 | impl HasSource for ImplBlock { | 114 | impl HasSource for ImplBlock { |
115 | type Ast = ast::ImplBlock; | 115 | type Ast = ast::ImplBlock; |
116 | fn source(self, db: &impl DefDatabase) -> InFile<ast::ImplBlock> { | 116 | fn source(self, db: &impl DefDatabase) -> InFile<ast::ImplBlock> { |
117 | self.id.source(db) | 117 | self.id.lookup(db).source(db) |
118 | } | 118 | } |
119 | } | 119 | } |
120 | impl HasSource for Import { | 120 | impl HasSource for Import { |