1 error[E0277]: the size for values of type `X` cannot be known at compilation time
2 --> $DIR/unsized-trait-impl-self-type.rs:10:27
5 | - required by this bound in `S5`
7 LL | impl<X: ?Sized> T3<X> for S5<X> {
8 | - ^^^^^ doesn't have a size known at compile-time
10 | this type parameter needs to be `Sized`
12 help: you could relax the implicit `Sized` bound on `Y` if it were used through indirection like `&Y` or `Box<Y>`
13 --> $DIR/unsized-trait-impl-self-type.rs:8:11
16 | ^ - ...if indirection were used here: `Box<Y>`
18 | this could be changed to `Y: ?Sized`...
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0277`.