We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5963b83 commit 07dca96Copy full SHA for 07dca96
compiler/rustc_passes/src/dead.rs
@@ -154,6 +154,7 @@ impl<'tcx> MarkSymbolVisitor<'tcx> {
154
self.insert_def_id(def.non_enum_variant().fields[index].did);
155
}
156
ty::Tuple(..) => {}
157
+ ty::Error(_) => {}
158
kind => span_bug!(lhs.span, "named field access on non-ADT: {kind:?}"),
159
160
0 commit comments