Remove hir::StructField::attrs.
This commit is contained in:
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user