fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: unused generator that must be used 2 --> $DIR/yield-in-initializer.rs:6:5 3 | 4LL | / static || { 5LL | | loop { 6LL | | // Test that `opt` is not live across the yield, even when borrowed in a loop 7LL | | // See https://github.com/rust-lang/rust/issues/52792 8... | 9LL | | } 10LL | | }; 11 | |_____^ 12 | 13 = note: generators are lazy and do nothing unless resumed 14 = note: `#[warn(unused_must_use)]` on by default 15 16warning: 1 warning emitted 17