blob: 26605cdd2c2164e3ed0a1485ae9540bc29977a1d (
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`.
|