error: you seem to be trying to use `Box>`. Consider using just `Vec` --> 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. error: aborting due to previous error(s) To learn more, run the command again with --verbose.