File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ fn multiple_storage() {
20
20
{
21
21
StorageLive ( a) ;
22
22
StorageLive ( a) ;
23
+ //~^ ERROR broken MIR
23
24
Return ( )
24
25
}
25
26
)
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
3
3
--> $DIR/storage-live.rs:22:13
4
4
|
5
5
LL | StorageLive(a);
6
6
| ^^^^^^^^^^^^^^
7
-
8
- aborting due to `-Z treat-err-as-bug=1`
7
+ |
8
+ = aborting due to `-Z treat-err-as-bug=1`
9
9
error: the compiler unexpectedly panicked. this is a bug.
10
10
11
11
query stack during panic:
You can’t perform that action at this time.
0 commit comments