File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ fn multiple_storage() {
21
21
{
22
22
StorageLive ( a) ;
23
23
StorageLive ( a) ;
24
+ //~^ ERROR broken MIR
24
25
Return ( )
25
26
}
26
27
}
Original file line number Diff line number Diff line change @@ -5,14 +5,10 @@ error: internal compiler error: broken MIR in Item(DefId(0:8 ~ storage_live[HASH
5
5
LL | StorageLive(a);
6
6
| ^^^^^^^^^^^^^^
7
7
|
8
- note: delayed at compiler/rustc_mir_transform/src/lint.rs:LL:CC - disabled backtrace
9
- --> $DIR/storage-live.rs:23:13
10
- |
11
- LL | StorageLive(a);
12
- | ^^^^^^^^^^^^^^
13
-
14
- aborting due to `-Z treat-err-as-bug=1`
8
+ = aborting due to `-Z treat-err-as-bug=1`
15
9
error: the compiler unexpectedly panicked. this is a bug.
16
10
17
11
query stack during panic:
12
+ #0 [mir_built] building MIR for `multiple_storage`
13
+ #1 [has_ffi_unwind_calls] checking if `multiple_storage` contains FFI-unwind calls
18
14
end of query stack
You can’t perform that action at this time.
0 commit comments