1 error[E0277]: the size for values of type `X` cannot be known at compilation time
2 --> $DIR/unsized-inherent-impl-self-type.rs:7:17
5 | ---------------- required by `S5`
7 LL | impl<X: ?Sized> S5<X> {
8 | - ^^^^^ doesn't have a size known at compile-time
10 | this type parameter needs to be `std::marker::Sized`
12 = help: the trait `std::marker::Sized` is not implemented for `X`
13 = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.