Remove hir::StructField::attrs.
This commit is contained in:
parent
3c0afc3e1c
commit
c298744da7
5 changed files with 8 additions and 7 deletions
|
@ -802,6 +802,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
self.lower_ty(&f.ty, ImplTraitContext::disallowed())
|
||||
};
|
||||
let hir_id = self.lower_node_id(f.id);
|
||||
self.lower_attrs(hir_id, &f.attrs);
|
||||
hir::StructField {
|
||||
span: f.span,
|
||||
hir_id,
|
||||
|
@ -812,7 +813,6 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
},
|
||||
vis: self.lower_visibility(&f.vis, None),
|
||||
ty,
|
||||
attrs: self.lower_attrs(hir_id, &f.attrs),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue