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