diff options
Diffstat (limited to 'crates/hir_expand/src/eager.rs')
-rw-r--r-- | crates/hir_expand/src/eager.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_expand/src/eager.rs b/crates/hir_expand/src/eager.rs index 5e30ab930..e165b9c5f 100644 --- a/crates/hir_expand/src/eager.rs +++ b/crates/hir_expand/src/eager.rs | |||
@@ -122,7 +122,7 @@ pub fn expand_eager_macro( | |||
122 | def, | 122 | def, |
123 | krate, | 123 | krate, |
124 | eager: Some(EagerCallInfo { | 124 | eager: Some(EagerCallInfo { |
125 | expansion: Arc::new(parsed_args.clone()), | 125 | arg_or_expansion: Arc::new(parsed_args.clone()), |
126 | included_file: None, | 126 | included_file: None, |
127 | }), | 127 | }), |
128 | kind: MacroCallKind::FnLike { ast_id: call_id, fragment: FragmentKind::Expr }, | 128 | kind: MacroCallKind::FnLike { ast_id: call_id, fragment: FragmentKind::Expr }, |
@@ -149,7 +149,7 @@ pub fn expand_eager_macro( | |||
149 | def, | 149 | def, |
150 | krate, | 150 | krate, |
151 | eager: Some(EagerCallInfo { | 151 | eager: Some(EagerCallInfo { |
152 | expansion: Arc::new(expanded.subtree), | 152 | arg_or_expansion: Arc::new(expanded.subtree), |
153 | included_file: expanded.included_file, | 153 | included_file: expanded.included_file, |
154 | }), | 154 | }), |
155 | kind: MacroCallKind::FnLike { ast_id: call_id, fragment: expanded.fragment }, | 155 | kind: MacroCallKind::FnLike { ast_id: call_id, fragment: expanded.fragment }, |