Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_expand/src/db.rs')
| -rw-r--r-- | crates/hir_expand/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index b7951cc282..0c5457016e 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs @@ -387,7 +387,7 @@ fn expand_proc_macro(db: &dyn AstDatabase, id: MacroCallId) -> ExpandResult<tt:: let attr_arg = match &loc.kind { MacroCallKind::Attr { attr_args, .. } => { - let mut attr_args = attr_args.tree.clone(); + let mut attr_args = attr_args.0.clone(); mbe::Shift::new(¯o_arg.0).shift_all(&mut attr_args); Some(attr_args) } |