Drop vis in ImplItem.
This commit is contained in:
parent
2827007d32
commit
a6e3124d2c
7 changed files with 16 additions and 36 deletions
|
@ -1016,8 +1016,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
def_id: hir_id.expect_owner(),
|
||||
ident: self.lower_ident(i.ident),
|
||||
generics,
|
||||
vis: self.lower_visibility(&i.vis),
|
||||
kind,
|
||||
vis_span: self.lower_span(i.vis.span),
|
||||
span: self.lower_span(i.span),
|
||||
};
|
||||
self.arena.alloc(item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue