1 warning: unused generator that must be used
2 --> $DIR/yield-in-initializer.rs:6:5
6 LL | | // Test that `opt` is not live across the yield, even when borrowed in a loop
7 LL | | // See https://github.com/rust-lang/rust/issues/52792
13 = note: generators are lazy and do nothing unless resumed
14 = note: `#[warn(unused_must_use)]` on by default
16 warning: 1 warning emitted