try apply rustc_pass_by_value
to Span
This commit is contained in:
parent
e6808381e5
commit
2684dfe583
8 changed files with 32 additions and 23 deletions
|
@ -571,7 +571,7 @@ impl<'a> State<'a> {
|
|||
self.ann.nested(self, Nested::Body(body));
|
||||
}
|
||||
hir::ItemKind::Macro(ref macro_def) => {
|
||||
self.print_mac_def(macro_def, &item.ident, &item.span, |state| {
|
||||
self.print_mac_def(macro_def, &item.ident, item.span, |state| {
|
||||
state.print_visibility(&item.vis)
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue