1 error[E0271]: type mismatch resolving `<[generator@$DIR/issue-94429.rs:16:9: 18:10] as Generator>::Yield == ()`
2 --> $DIR/issue-94429.rs:16:9
7 | |_________^ expected integer, found `()`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0271`.