aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/expr.rs b/crates/ra_hir/src/expr.rs
index 66cb9633b..6eed67f50 100644
--- a/crates/ra_hir/src/expr.rs
+++ b/crates/ra_hir/src/expr.rs
@@ -843,7 +843,7 @@ where
843 let file_id = call_id.as_file(MacroFileKind::Expr); 843 let file_id = call_id.as_file(MacroFileKind::Expr);
844 if let Some(node) = self.db.parse_or_expand(file_id) { 844 if let Some(node) = self.db.parse_or_expand(file_id) {
845 if let Some(expr) = ast::Expr::cast(node) { 845 if let Some(expr) = ast::Expr::cast(node) {
846 log::debug!("macro expansion {}", expr.syntax().debug_dump()); 846 log::debug!("macro expansion {:#?}", expr.syntax());
847 let old_file_id = 847 let old_file_id =
848 std::mem::replace(&mut self.current_file_id, file_id); 848 std::mem::replace(&mut self.current_file_id, file_id);
849 let id = self.collect_expr(expr); 849 let id = self.collect_expr(expr);