1 error[E0277]: the trait bound `MyStruct: Default` is not satisfied
2 --> $DIR/issue-59435.rs:11:5
4 LL | type MyType: Default;
5 | --------------------- required by `MyTrait::MyType`
7 LL | default type MyType = MyStruct;
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `MyStruct`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0277`.