aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_hir/src/nameres/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/nameres/tests.rs b/crates/ra_hir/src/nameres/tests.rs
index 5b161cf49..971f71637 100644
--- a/crates/ra_hir/src/nameres/tests.rs
+++ b/crates/ra_hir/src/nameres/tests.rs
@@ -26,7 +26,7 @@ fn item_map_custom_crate_root(fixture: &str, root: &str) -> (Arc<ItemMap>, Modul
26 crate_graph.add_crate_root(db.file_id(root)); 26 crate_graph.add_crate_root(db.file_id(root));
27 db.set_crate_graph(Arc::new(crate_graph)); 27 db.set_crate_graph(Arc::new(crate_graph));
28 28
29 let module = crate::source_binder::module_from_position(&db, dbg!(pos)).unwrap(); 29 let module = crate::source_binder::module_from_position(&db, pos).unwrap();
30 let krate = module.krate(&db).unwrap(); 30 let krate = module.krate(&db).unwrap();
31 let module_id = module.module_id; 31 let module_id = module.module_id;
32 (db.item_map(krate.crate_id), module_id) 32 (db.item_map(krate.crate_id), module_id)