]>
Commit | Line | Data |
---|---|---|
72b1a166 FG |
1 | warning: unused closure that must be used |
2 | --> $DIR/issue-1460.rs:6:5 | |
3 | | | |
4 | LL | {|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 | ||
10 | warning: 1 warning emitted | |
11 |