parent
76cf07d5df
commit
97ea48ce32
3 changed files with 28 additions and 1 deletions
|
@ -153,7 +153,8 @@ impl<'tcx> MarkSymbolVisitor<'tcx> {
|
|||
self.insert_def_id(def.non_enum_variant().fields[index].did);
|
||||
}
|
||||
ty::Tuple(..) => {}
|
||||
_ => span_bug!(lhs.span, "named field access on non-ADT"),
|
||||
ty::Error(_) => {}
|
||||
kind => span_bug!(lhs.span, "named field access on non-ADT: {kind:?}"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue