Skip to content

Commit d6cb2e9

Browse files
committed
fix miri tests
1 parent 2c6c555 commit d6cb2e9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/tools/miri/tests/panic/mir-validation.stderr

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ LL | *(tuple.0) = 1;
77

88

99
thread 'rustc' ($TID) panicked at compiler/rustc_mir_transform/src/validate.rs:LL:CC:
10-
Box<dyn Any>
10+
broken MIR in Item(DefId) (after phase change to runtime-optimized) at bb0[1]:
11+
place (*(_2.0: *mut i32)) has deref as a later projection (it is only permitted as the first projection)
1112
stack backtrace:
1213

14+
error: the compiler unexpectedly panicked. This is a bug
15+
1316

1417

1518

0 commit comments

Comments
 (0)