]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-1460.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-1460.stderr
CommitLineData
72b1a166
FG
1warning: unused closure that must be used
2 --> $DIR/issue-1460.rs:6:5
3 |
4LL | {|i: u32| if 1 == i { }};
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_must_use)]` on by default
8 = note: closures are lazy and do nothing unless called
9
10warning: 1 warning emitted
11