]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generator/match-bindings.stderr
Rollup merge of #94577 - RalfJung:simd-miri, r=scottmcm
[rust.git] / src / test / ui / generator / match-bindings.stderr
1 warning: unused generator that must be used
2   --> $DIR/match-bindings.rs:12:5
3    |
4 LL | /     || {
5 LL | |         loop {
6 LL | |             if let true = true {
7 LL | |                 match Enum::A(String::new()) {
8 ...  |
9 LL | |         }
10 LL | |     };
11    | |______^
12    |
13    = note: `#[warn(unused_must_use)]` on by default
14    = note: generators are lazy and do nothing unless resumed
15
16 warning: 1 warning emitted
17