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: `-D box-vec` implied by `-D warnings` = help: `Vec` is already on the heap, `Box>` makes an extra allocation.