From d5fbce445860d010b9aa2bfc0951818b606b36de Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Tue, 14 May 2019 23:55:24 +0800 Subject: Put back unexpaned_macros after resolve --- crates/ra_hir/src/nameres/collector.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/ra_hir/src') diff --git a/crates/ra_hir/src/nameres/collector.rs b/crates/ra_hir/src/nameres/collector.rs index 621236551..c5e7f7ebe 100644 --- a/crates/ra_hir/src/nameres/collector.rs +++ b/crates/ra_hir/src/nameres/collector.rs @@ -352,9 +352,12 @@ where false }); + self.unexpanded_macros = macros; + for (module_id, macro_call_id, macro_def_id) in resolved { self.collect_macro_expansion(module_id, macro_call_id, macro_def_id); } + res } -- cgit v1.2.3