1
Fork 0
This commit is contained in:
Jeremy Stucki 2020-03-24 19:26:58 +01:00
parent 3a65d380ae
commit 17b97eeb8a
No known key found for this signature in database
GPG key ID: 49C41BB0B206632B

View file

@ -1023,7 +1023,7 @@ impl<'a, 'tcx> NamePrivacyVisitor<'a, 'tcx> {
span: Span, // span of the field pattern, e.g., `x: 0` span: Span, // span of the field pattern, e.g., `x: 0`
def: &'tcx ty::AdtDef, // definition of the struct or enum def: &'tcx ty::AdtDef, // definition of the struct or enum
field: &'tcx ty::FieldDef, field: &'tcx ty::FieldDef,
in_update_syntax: bool in_update_syntax: bool,
) { ) {
// definition of the field // definition of the field
let ident = Ident::new(kw::Invalid, use_ctxt); let ident = Ident::new(kw::Invalid, use_ctxt);