diff options
author | Edwin Cheng <[email protected]> | 2019-05-14 16:55:24 +0100 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-05-26 06:38:03 +0100 |
commit | d5fbce445860d010b9aa2bfc0951818b606b36de (patch) | |
tree | 5811715c25dbec8b5a9de6e2dd4a29971dabb9dc /crates/ra_hir/src | |
parent | 91bd783273477d5709ea4bb891355e9aa9a7cdfe (diff) |
Put back unexpaned_macros after resolve
Diffstat (limited to 'crates/ra_hir/src')
-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 | ||