blob: 91ea3db70311f52378d0d39abd1ddf99676d1b14 [file]
error[E0277]: the trait bound `(): Valid` is not satisfied
--> $DIR/issue-38091.rs:11:23
|
LL | default type Ty = ();
| ^^ the trait `Valid` is not implemented for `()`
|
help: this trait has no implementations, consider adding one
--> $DIR/issue-38091.rs:19:1
|
LL | trait Valid {}
| ^^^^^^^^^^^
note: required by a bound in `Iterate::Ty`
--> $DIR/issue-38091.rs:4:14
|
LL | type Ty: Valid;
| ^^^^^ required by this bound in `Iterate::Ty`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.