]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16256.stderr
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[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: `#[warn(unused_must_use)]` on by default
8    = note: closures are lazy and do nothing unless called
9
10 warning: 1 warning emitted
11