]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16256.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-16256.stderr
1 warning: unused closure that must be used
2   --> $DIR/issue-16256.rs:6:5
3    |
4 LL |     |c: u8| buf.push(c);
5    |     ^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: closures are lazy and do nothing unless called
8    = note: `#[warn(unused_must_use)]` on by default
9
10 warning: 1 warning emitted
11