diff options
author | Aleksey Kladov <[email protected]> | 2019-03-16 15:57:53 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-03-17 09:53:22 +0000 |
commit | ee3cf6172b29a1dc0973800b5a4f97afa5eefd90 (patch) | |
tree | ff38fa199e0a4d30264107650074c8b210876cfa /crates/ra_hir/src/nameres/tests.rs | |
parent | c51a6a7bdddf885cb833889a4550150d839eefdc (diff) |
rename ModuleId -> CrateModuleId
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() { |