Skip to content

Commit 09c8d23

Browse files
committed
Turn crash test into a regression test
1 parent 2071fc2 commit 09c8d23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/crashes/131342.rs renamed to tests/ui/mir/mir-inlining/ice-issue-131342.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ known-bug: #131342
1+
//@ build-pass
2+
//@ compile-flags: -Zmir-opt-level=2 -Zinline-mir
23

34
fn main() {
45
let mut items = vec![1, 2, 3, 4, 5].into_iter();

0 commit comments

Comments
 (0)