Remove hir::Variant::attrs.
This commit is contained in:
parent
a0a4611a81
commit
3c0afc3e1c
5 changed files with 10 additions and 15 deletions
|
@ -834,7 +834,7 @@ impl<'a> State<'a> {
|
|||
for v in variants {
|
||||
self.space_if_not_bol();
|
||||
self.maybe_print_comment(v.span.lo());
|
||||
self.print_outer_attributes(&v.attrs);
|
||||
self.print_outer_attributes(self.attrs(v.id));
|
||||
self.ibox(INDENT_UNIT);
|
||||
self.print_variant(v);
|
||||
self.s.word(",");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue