mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-19 11:12:43 +00:00
Add regression test for ICE 6139
This commit is contained in:
parent
2f6439ae6a
commit
6d88803a1c
7
tests/ui/crashes/ice-6139.rs
Normal file
7
tests/ui/crashes/ice-6139.rs
Normal file
@ -0,0 +1,7 @@
|
||||
trait T<'a> {}
|
||||
|
||||
fn foo(_: Vec<Box<dyn T<'_>>>) {}
|
||||
|
||||
fn main() {
|
||||
foo(vec![]);
|
||||
}
|
Loading…
Reference in New Issue
Block a user