Let MultiItemDecorator take &Annotatable (fixes #25683)

This commit is contained in:
Manish Goregaokar
2015-05-22 21:10:14 +05:30
parent 59ba55ddbd
commit 6bc5a92484
18 changed files with 39 additions and 39 deletions

View File

@@ -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()));