rust-clippy/tests/ui/crashes/ice-6139.rs

7 lines
82 B
Rust

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