Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6d88803

Browse files
committed
Add regression test for ICE 6139
1 parent 2f6439a commit 6d88803

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/ui/crashes/ice-6139.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
trait T<'a> {}
2+
3+
fn foo(_: Vec<Box<dyn T<'_>>>) {}
4+
5+
fn main() {
6+
foo(vec![]);
7+
}

0 commit comments

Comments
 (0)