rust/tests/ui/crashes/ice-6139.rs
2020-10-09 22:21:47 +02:00

8 lines
82 B
Rust

trait T<'a> {}
fn foo(_: Vec<Box<dyn T<'_>>>) {}
fn main() {
foo(vec![]);
}