aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_expand')
-rw-r--r--crates/ra_hir_expand/src/db.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/crates/ra_hir_expand/src/db.rs b/crates/ra_hir_expand/src/db.rs
index d29985d0b..73137f33b 100644
--- a/crates/ra_hir_expand/src/db.rs
+++ b/crates/ra_hir_expand/src/db.rs
@@ -181,13 +181,9 @@ pub(crate) fn parse_macro(
181 err, 181 err,
182 node.value 182 node.value
183 ); 183 );
184 184 let mut parent = loc.kind.file_id().call_node(db);
185 let mut parent = loc.kind.file_id().call_node(db);
186 while let Some(node) = parent.clone() { 185 while let Some(node) = parent.clone() {
187 log::warn!( 186 log::warn!("parent: macro_call: {:#})", node.value);
188 "parent: macro_call: {:#})",
189 node.value
190 );
191 parent = node.file_id.call_node(db); 187 parent = node.file_id.call_node(db);
192 } 188 }
193 } 189 }