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_def/src/data.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_def/src/data.rs')
-rw-r--r-- | crates/ra_hir_def/src/data.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/data.rs b/crates/ra_hir_def/src/data.rs index 095d7064a..42821b9b1 100644 --- a/crates/ra_hir_def/src/data.rs +++ b/crates/ra_hir_def/src/data.rs | |||
@@ -167,7 +167,7 @@ pub struct ImplData { | |||
167 | 167 | ||
168 | impl ImplData { | 168 | impl ImplData { |
169 | pub(crate) fn impl_data_query(db: &impl DefDatabase, id: ImplId) -> Arc<ImplData> { | 169 | pub(crate) fn impl_data_query(db: &impl DefDatabase, id: ImplId) -> Arc<ImplData> { |
170 | let src = id.source(db); | 170 | let src = id.lookup(db).source(db); |
171 | let items = db.ast_id_map(src.file_id); | 171 | let items = db.ast_id_map(src.file_id); |
172 | 172 | ||
173 | let target_trait = src.value.target_trait().map(TypeRef::from_ast); | 173 | let target_trait = src.value.target_trait().map(TypeRef::from_ast); |