2018-12-13 10:15:56 -08:00
|
|
|
error: `Vec<T>` is already on the heap, the boxing is unnecessary.
|
2018-12-27 16:17:45 +01:00
|
|
|
--> $DIR/vec_box_sized.rs:10:17
|
2018-12-13 07:43:13 -08:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | sized_type: Vec<Box<SizedStruct>>,
|
2018-12-13 09:34:16 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `Vec<SizedStruct>`
|
2018-12-13 07:43:13 -08:00
|
|
|
|
|
2018-12-13 10:15:56 -08:00
|
|
|
= note: `-D clippy::vec-box` implied by `-D warnings`
|
2018-12-13 07:43:13 -08:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|