2018-08-08 07:28:26 -05:00
|
|
|
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
2020-07-10 17:13:49 -05:00
|
|
|
--> $DIR/wf-array-elem-sized.rs:7:10
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | foo: [[u8]],
|
2020-07-10 17:13:49 -05:00
|
|
|
| ^^^^^^ doesn't have a size known at compile-time
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-09-02 02:40:56 -05:00
|
|
|
= help: the trait `Sized` is not implemented for `[u8]`
|
2018-08-08 07:28:26 -05:00
|
|
|
= note: slice and array elements must have `Sized` type
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|