Remove hir::TraitItem::attrs.
This commit is contained in:
parent
4bab93a039
commit
c49359add2
12 changed files with 25 additions and 29 deletions
|
@ -949,7 +949,7 @@ impl<'a> State<'a> {
|
|||
self.ann.pre(self, AnnNode::SubItem(ti.hir_id()));
|
||||
self.hardbreak_if_not_bol();
|
||||
self.maybe_print_comment(ti.span.lo());
|
||||
self.print_outer_attributes(&ti.attrs);
|
||||
self.print_outer_attributes(self.attrs(ti.hir_id()));
|
||||
match ti.kind {
|
||||
hir::TraitItemKind::Const(ref ty, default) => {
|
||||
let vis =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue