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