Remove hir::ImplItem::attrs.
This commit is contained in:
parent
c49359add2
commit
5474f17011
13 changed files with 23 additions and 36 deletions
|
@ -931,10 +931,10 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
let has_value = true;
|
||||
let (defaultness, _) = self.lower_defaultness(i.kind.defaultness(), has_value);
|
||||
let hir_id = self.lower_node_id(i.id);
|
||||
self.lower_attrs(hir_id, &i.attrs);
|
||||
hir::ImplItem {
|
||||
def_id: hir_id.expect_owner(),
|
||||
ident: i.ident,
|
||||
attrs: self.lower_attrs(hir_id, &i.attrs),
|
||||
generics,
|
||||
vis: self.lower_visibility(&i.vis, None),
|
||||
defaultness,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue