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