error: you seem to be trying to use `Box>`. Consider using just `Vec` --> $DIR/box_vec.rs:17:18 | 17 | pub fn test(foo: Box>) { | ^^^^^^^^^^^^^^ | = note: #[deny(box_vec)] implied by #[deny(clippy)] note: lint level defined here --> $DIR/box_vec.rs:4:9 | 4 | #![deny(clippy)] | ^^^^^^ = help: `Vec` is already on the heap, `Box>` makes an extra allocation. error: aborting due to previous error