Let MultiItemDecorator take &Annotatable (fixes #25683)
This commit is contained in:
@@ -1212,7 +1212,7 @@ fn expand_decorators(a: Annotatable,
|
||||
dec.expand(fld.cx,
|
||||
attr.span,
|
||||
&attr.node.value,
|
||||
a.clone(),
|
||||
&a,
|
||||
&mut |ann| items.push(ann));
|
||||
decorator_items.extend(items.into_iter()
|
||||
.flat_map(|ann| expand_annotatable(ann, fld).into_iter()));
|
||||
|
||||
Reference in New Issue
Block a user