error[E0271]: type mismatch resolving `<{coroutine@$DIR/issue-94429.rs:17:9: 17:16} as Coroutine>::Yield == ()` | |
--> $DIR/issue-94429.rs:15:26 | |
| | |
LL | fn run(&mut self) -> Self::Coro { | |
| ^^^^^^^^^^ expected integer, found `()` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0271`. |