1 2 3 4 5 6 7 8 9
//@ check-pass trait T<'a> {} fn foo(_: Vec<Box<dyn T<'_>>>) {} fn main() { foo(vec![]); }