diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/nameres/collector.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
352 | false | 352 | false |
353 | }); | 353 | }); |
354 | 354 | ||
355 | self.unexpanded_macros = macros; | ||
356 | |||
355 | for (module_id, macro_call_id, macro_def_id) in resolved { | 357 | for (module_id, macro_call_id, macro_def_id) in resolved { |
356 | self.collect_macro_expansion(module_id, macro_call_id, macro_def_id); | 358 | self.collect_macro_expansion(module_id, macro_call_id, macro_def_id); |
357 | } | 359 | } |
360 | |||
358 | res | 361 | res |
359 | } | 362 | } |
360 | 363 | ||