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