]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generator/yield-in-args-rev.stderr
Auto merge of #98051 - davidtwco:split-dwarf-stabilization, r=wesleywiser
[rust.git] / src / test / ui / generator / yield-in-args-rev.stderr
1 warning: unused generator that must be used
2   --> $DIR/yield-in-args-rev.rs:13:5
3    |
4 LL | /     || {
5 LL | |         let b = true;
6 LL | |         foo(yield, &b);
7 LL | |     };
8    | |______^
9    |
10    = note: `#[warn(unused_must_use)]` on by default
11    = note: generators are lazy and do nothing unless resumed
12
13 warning: 1 warning emitted
14