error: you seem to be trying to use `Vec>`, but T is Sized. `Vec` is already on the heap, `Vec>` makes an extra allocation. --> $DIR/vec_box_sized.rs:10:14 | 10 | sized_type: Vec>, | ^^^^^^^^^^^^^^^^^^^^^ help: try: `Vec` | = note: `-D clippy::vec-box-sized` implied by `-D warnings` error: aborting due to previous error