]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-17999.stderr
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-17999.stderr
1 error: unused variable: `x`
2   --> $DIR/issue-17999.rs:5:13
3    |
4 LL |         let x = ();
5    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
6    |
7 note: the lint level is defined here
8   --> $DIR/issue-17999.rs:1:9
9    |
10 LL | #![deny(unused_variables)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: unused variable: `a`
14   --> $DIR/issue-17999.rs:7:13
15    |
16 LL |             a => {}
17    |             ^ help: if this is intentional, prefix it with an underscore: `_a`
18
19 error: aborting due to 2 previous errors
20