blob: 8d7f7a07b60c727b476d01b3b51b6c3446f95777 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0271]: type mismatch resolving `<[generator@$DIR/issue-94429.rs:17:9: 17:16] as Generator>::Yield == ()`
--> $DIR/issue-94429.rs:15:26
|
LL | fn run(&mut self) -> Self::Gen {
| ^^^^^^^^^ expected integer, found `()`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0271`.
|