error[E0277]: the size for values of type `[u8]` cannot be known at compilation time | |
--> $DIR/defaults-wf.rs:7:5 | |
| | |
LL | type Ty = Vec<[u8]>; | |
| ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | |
| | |
::: $SRC_DIR/alloc/src/vec.rs:LL:COL | |
| | |
LL | pub struct Vec<T> { | |
| - required by this bound in `Vec` | |
| | |
= help: the trait `Sized` is not implemented for `[u8]` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0277`. |