aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r--crates/ra_ide_api/src/display/navigation_target.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide_api/src/display/navigation_target.rs b/crates/ra_ide_api/src/display/navigation_target.rs
index 2e3e3863a..640d68544 100644
--- a/crates/ra_ide_api/src/display/navigation_target.rs
+++ b/crates/ra_ide_api/src/display/navigation_target.rs
@@ -228,12 +228,12 @@ impl NavigationTarget {
228 db: &RootDatabase, 228 db: &RootDatabase,
229 impl_block: hir::ImplBlock, 229 impl_block: hir::ImplBlock,
230 ) -> NavigationTarget { 230 ) -> NavigationTarget {
231 let (file_id, node) = impl_block.source(db); 231 let src = impl_block.source(db);
232 NavigationTarget::from_syntax( 232 NavigationTarget::from_syntax(
233 file_id.as_original_file(), 233 src.file_id.as_original_file(),
234 "impl".into(), 234 "impl".into(),
235 None, 235 None,
236 node.syntax(), 236 src.ast.syntax(),
237 None, 237 None,
238 None, 238 None,
239 ) 239 )