]> git.lizzy.rs Git - rust.git/blob - tests/ui/vec_box_sized.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / vec_box_sized.stderr
1 error: `Vec<T>` is already on the heap, the boxing is unnecessary.
2   --> $DIR/vec_box_sized.rs:10:17
3    |
4 LL |     sized_type: Vec<Box<SizedStruct>>,
5    |                 ^^^^^^^^^^^^^^^^^^^^^ help: try: `Vec<SizedStruct>`
6    |
7    = note: `-D clippy::vec-box` implied by `-D warnings`
8
9 error: aborting due to previous error
10