Drop vis in FieldDef.
This commit is contained in:
parent
4e8046f67a
commit
a62680d108
7 changed files with 81 additions and 63 deletions
|
@ -851,7 +851,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
// FIXME(jseyfried): positional field hygiene.
|
||||
None => Ident::new(sym::integer(index), self.lower_span(f.span)),
|
||||
},
|
||||
vis: self.lower_visibility(&f.vis),
|
||||
vis_span: self.lower_span(f.vis.span),
|
||||
ty,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue