diff options
Diffstat (limited to 'crates/ra_hir/src/nameres/tests.rs')
-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 f73f9d8a6..ac9b88520 100644 --- a/crates/ra_hir/src/nameres/tests.rs +++ b/crates/ra_hir/src/nameres/tests.rs | |||
@@ -27,7 +27,7 @@ fn render_crate_def_map(map: &CrateDefMap) -> String { | |||
27 | go(&mut buf, map, "\ncrate", map.root); | 27 | go(&mut buf, map, "\ncrate", map.root); |
28 | return buf; | 28 | return buf; |
29 | 29 | ||
30 | fn go(buf: &mut String, map: &CrateDefMap, path: &str, module: ModuleId) { | 30 | fn go(buf: &mut String, map: &CrateDefMap, path: &str, module: CrateModuleId) { |
31 | *buf += path; | 31 | *buf += path; |
32 | *buf += "\n"; | 32 | *buf += "\n"; |
33 | for (name, res) in map.modules[module].scope.items.iter() { | 33 | for (name, res) in map.modules[module].scope.items.iter() { |