diff options
author | Erlend Tobiassen <[email protected]> | 2019-01-27 14:44:59 +0000 |
---|---|---|
committer | Erlend Tobiassen <[email protected]> | 2019-01-27 14:44:59 +0000 |
commit | b149882d198818d6302c2a6318d68c4e0b4380ff (patch) | |
tree | 0bae79e874ded71235cee543636e3954466a2131 /crates/ra_hir | |
parent | 08e12f974cb1d801920368420174ad4db0eb0df0 (diff) |
Remove dbg!(...)
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/nameres/tests.rs | 2 |
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) |