aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorErlend Tobiassen <[email protected]>2019-01-27 14:29:02 +0000
committerErlend Tobiassen <[email protected]>2019-01-27 14:37:43 +0000
commit08e12f974cb1d801920368420174ad4db0eb0df0 (patch)
treeaacad90b1a3e1d423937fde8d4a4b31330d6ec6e /crates/ra_hir/src
parente2e1f4cecaa2d373f58260b504fd014efe49cf89 (diff)
Fix bad rebase and rustfmt
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/module_tree.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/module_tree.rs b/crates/ra_hir/src/module_tree.rs
index 7caebab0d..893c375b5 100644
--- a/crates/ra_hir/src/module_tree.rs
+++ b/crates/ra_hir/src/module_tree.rs
@@ -192,7 +192,7 @@ impl ModuleTree {
192 }); 192 });
193 193
194 let (points_to, problem) = if sub.is_declaration { 194 let (points_to, problem) = if sub.is_declaration {
195 let (points_to, problem) = resolve_submodule(db, file_id, &sub.name); 195 let (points_to, problem) = resolve_submodule(db, file_id, &sub.name, is_root);
196 let points_to = points_to 196 let points_to = points_to
197 .into_iter() 197 .into_iter()
198 .map(|file_id| { 198 .map(|file_id| {