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 2246f09 commit 7479dd2Copy full SHA for 7479dd2
compiler/rustc_passes/src/dead.rs
@@ -166,6 +166,7 @@ impl<'tcx> MarkSymbolVisitor<'tcx> {
166
self.insert_def_id(def.non_enum_variant().fields[index].did);
167
}
168
ty::Tuple(..) => {}
169
+ ty::Error(_) => {}
170
kind => span_bug!(lhs.span, "named field access on non-ADT: {kind:?}"),
171
172
0 commit comments