1error: `Vec<T>` is already on the heap, the boxing is unnecessary 2 --> $DIR/test.rs:9:12 3 | 4LL | struct Foo(Vec<Box<u8>>); 5 | ^^^^^^^^^^^^ help: try: `Vec<u8>` 6 | 7 = note: `-D clippy::vec-box` implied by `-D warnings` 8 9error: `Vec<T>` is already on the heap, the boxing is unnecessary 10 --> $DIR/test.rs:10:12 11 | 12LL | struct Bar(Vec<Box<u32>>); 13 | ^^^^^^^^^^^^^ help: try: `Vec<u32>` 14 15error: `Vec<T>` is already on the heap, the boxing is unnecessary 16 --> $DIR/test.rs:13:18 17 | 18LL | struct FooBarBaz(Vec<Box<C>>); 19 | ^^^^^^^^^^^ help: try: `Vec<C>` 20 21error: aborting due to 3 previous errors 22 23