Clarify field name

This commit is contained in:
Jonas Schievink 2021-05-19 20:23:26 +02:00
parent ea8555b155
commit c0d93bc4d6
4 changed files with 6 additions and 6 deletions

View file

@ -122,7 +122,7 @@ pub fn expand_eager_macro(
def,
krate,
eager: Some(EagerCallInfo {
expansion: Arc::new(parsed_args.clone()),
arg_or_expansion: Arc::new(parsed_args.clone()),
included_file: None,
}),
kind: MacroCallKind::FnLike { ast_id: call_id, fragment: FragmentKind::Expr },
@ -149,7 +149,7 @@ pub fn expand_eager_macro(
def,
krate,
eager: Some(EagerCallInfo {
expansion: Arc::new(expanded.subtree),
arg_or_expansion: Arc::new(expanded.subtree),
included_file: expanded.included_file,
}),
kind: MacroCallKind::FnLike { ast_id: call_id, fragment: expanded.fragment },