]>
Commit | Line | Data |
---|---|---|
136023e0 XL |
1 | warning: variant is never constructed: `B` |
2 | --> $DIR/issue-87097.rs:6:5 | |
3 | | | |
4 | LL | B, | |
5 | | ^ | |
6 | | | |
7 | = note: `#[warn(dead_code)]` on by default | |
8 | ||
9 | warning: unused closure that must be used | |
10 | --> $DIR/issue-87097.rs:17:5 | |
11 | | | |
12 | LL | / || match out_ref { | |
13 | LL | | Variant::A => (), | |
14 | LL | | Variant::B => (), | |
15 | LL | | }; | |
16 | | |______^ | |
17 | | | |
18 | = note: `#[warn(unused_must_use)]` on by default | |
19 | = note: closures are lazy and do nothing unless called | |
20 | ||
21 | warning: unused closure that must be used | |
22 | --> $DIR/issue-87097.rs:26:5 | |
23 | | | |
24 | LL | / || match here.field { | |
25 | LL | | Variant::A => (), | |
26 | LL | | Variant::B => (), | |
27 | LL | | }; | |
28 | | |______^ | |
29 | | | |
30 | = note: closures are lazy and do nothing unless called | |
31 | ||
32 | warning: 3 warnings emitted | |
33 |