1 error[E0277]: the size for values of type `[()]` cannot be known at compilation time
2 --> $DIR/issue-61631-default-type-param-can-reference-self-in-trait.rs:19:6
4 LL | impl Tsized for () {}
5 | ^^^^^^ doesn't have a size known at compile-time
7 = help: the trait `Sized` is not implemented for `[()]`
8 note: required by a bound in `Tsized`
9 --> $DIR/issue-61631-default-type-param-can-reference-self-in-trait.rs:17:14
11 LL | trait Tsized<P: Sized = [Self]> {}
12 | ^^^^^^^^^^^^^^^^^ required by this bound in `Tsized`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0277`.