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

8 lines
82 B
Rust
Raw Normal View History

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