fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the size for values of type `[isize]` cannot be known at compilation time 2 --> $DIR/dst-bad-deep.rs:13:34 3 | 4LL | let h: &Fat<Fat<[isize]>> = &Fat { ptr: *g }; 5 | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time 6 | 7 = help: within `Fat<Fat<[isize]>>`, the trait `Sized` is not implemented for `[isize]` 8note: required because it appears within the type `Fat<[isize]>` 9 --> $DIR/dst-bad-deep.rs:6:8 10 | 11LL | struct Fat<T: ?Sized> { 12 | ^^^ 13 = note: structs must have a statically known size to be initialized 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0277`.