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 ef862a7 commit fe7be63Copy full SHA for fe7be63
src/constant.rs
@@ -71,7 +71,7 @@ pub(crate) fn eval_mir_constant<'tcx>(
71
// This cannot fail because we checked all required_consts in advance.
72
let val = cv
73
.eval(fx.tcx, ty::ParamEnv::reveal_all(), Some(constant.span))
74
- .expect("erroneous constant not captured by required_consts");
+ .expect("erroneous constant missed by mono item collection");
75
(val, cv.ty())
76
}
77
0 commit comments