libsyntax: add some explicit copies
This commit is contained in:
parent
752befe2a6
commit
bff22cf166
8 changed files with 94 additions and 68 deletions
|
@ -280,7 +280,7 @@ pub fn noop_fold_item_underscore(i: &item_, fld: ast_fold) -> item_ {
|
|||
}
|
||||
item_mac(ref m) => {
|
||||
// FIXME #2888: we might actually want to do something here.
|
||||
item_mac((*m))
|
||||
item_mac(copy *m)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue