File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ fn multiple_storage() {
2020 {
2121 StorageLive ( a) ;
2222 StorageLive ( a) ;
23+ //~^ ERROR broken MIR
2324 Return ( )
2425 }
2526 )
Original file line number Diff line number Diff line change 1- error: internal compiler error: broken MIR in Item(DefId(0:8 ~ storage_live[HASH]::multiple_storage)) (after pass CheckPackedRef) at bb0[1]:
2- StorageLive(_1) which already has storage here
1+ error: broken MIR in Item(DefId(0:8 ~ storage_live[HASH]::multiple_storage)) (after pass CheckPackedRef) at bb0[1]:
2+ StorageLive(_1) which already has storage here
33 --> $DIR/storage-live.rs:22:13
44 |
55LL | StorageLive(a);
66 | ^^^^^^^^^^^^^^
7-
8- aborting due to `-Z treat-err-as-bug=1`
7+ |
8+ = aborting due to `-Z treat-err-as-bug=1`
99error: the compiler unexpectedly panicked. this is a bug.
1010
1111query stack during panic:
You can’t perform that action at this time.
0 commit comments