mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
10 lines
325 B
Text
10 lines
325 B
Text
error: `Vec<T>` is already on the heap, the boxing is unnecessary.
|
|
--> $DIR/vec_box_sized.rs:10:17
|
|
|
|
|
LL | sized_type: Vec<Box<SizedStruct>>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `Vec<SizedStruct>`
|
|
|
|
|
= note: `-D clippy::vec-box` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|