Skip to content

Commit 592c2da

Browse files
committed
uwu
1 parent cdc92ff commit 592c2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/const_eval/valtrees.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ pub(crate) fn eval_to_valtree<'tcx>(
233233
) -> EvalToValTreeResult<'tcx> {
234234
// Const eval always happens in PostAnalysis mode . See the comment in
235235
// `InterpCx::new` for more details.
236-
debug_assert_eq!(key.typing_env.typing_mode, ty::TypingMode::PostAnalysis);
236+
debug_assert_eq!(typing_env.typing_mode, ty::TypingMode::PostAnalysis);
237237
let const_alloc = tcx.eval_to_allocation_raw(typing_env.as_query_input(cid))?;
238238

239239
// FIXME Need to provide a span to `eval_to_valtree`

0 commit comments

Comments
 (0)