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