diff options
Diffstat (limited to 'crates/hir_def/src/nameres.rs')
-rw-r--r-- | crates/hir_def/src/nameres.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_def/src/nameres.rs b/crates/hir_def/src/nameres.rs index ef54f7d08..c858ea0c4 100644 --- a/crates/hir_def/src/nameres.rs +++ b/crates/hir_def/src/nameres.rs | |||
@@ -324,6 +324,7 @@ impl DefMap { | |||
324 | let mut current_map = self; | 324 | let mut current_map = self; |
325 | while let Some(block) = ¤t_map.block { | 325 | while let Some(block) = ¤t_map.block { |
326 | go(&mut buf, current_map, "block scope", current_map.root); | 326 | go(&mut buf, current_map, "block scope", current_map.root); |
327 | buf.push('\n'); | ||
327 | current_map = &*block.parent; | 328 | current_map = &*block.parent; |
328 | } | 329 | } |
329 | go(&mut buf, current_map, "crate", current_map.root); | 330 | go(&mut buf, current_map, "crate", current_map.root); |