Skip to content

Commit bdefe34

Browse files
committed
Bless ui test.
1 parent 86aa6b7 commit bdefe34

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/ui/mir/lint/storage-live.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ fn multiple_storage() {
2020
{
2121
StorageLive(a);
2222
StorageLive(a);
23+
//~^ ERROR broken MIR
2324
Return()
2425
}
2526
)

tests/ui/mir/lint/storage-live.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
error: internal compiler error: broken MIR in Item(DefId(0:8 ~ storage_live[HASH]::multiple_storage)) (before 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)) (before pass CheckPackedRef) at bb0[1]:
2+
StorageLive(_1) which already has storage here
33
--> $DIR/storage-live.rs:22:13
44
|
55
LL | 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`
99
error: the compiler unexpectedly panicked. this is a bug.
1010

1111
query stack during panic:

0 commit comments

Comments
 (0)