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 22da487 commit 6a17f14Copy full SHA for 6a17f14
compiler/rustc_middle/src/hir/mod.rs
@@ -322,7 +322,6 @@ impl<'tcx> TyCtxt<'tcx> {
322
Node::Block(_)
323
| Node::Arm(_)
324
| Node::ExprField(_)
325
- | Node::ConstArgExprField(_)
326
| Node::AnonConst(_)
327
| Node::ConstBlock(_)
328
| Node::ConstArg(_)
@@ -360,6 +359,7 @@ impl<'tcx> TyCtxt<'tcx> {
360
359
| Node::Infer(_)
361
| Node::WherePredicate(_)
362
| Node::PreciseCapturingNonLifetimeArg(_)
+ | Node::ConstArgExprField(_)
363
| Node::OpaqueTy(_) => {
364
unreachable!("no sub-expr expected for {parent_node:?}")
365
}
0 commit comments