]> git.proxmox.com Git - rustc.git/blob - src/test/ui/span/issue-24690.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / span / issue-24690.stderr
1 warning: unused variable: `theOtherTwo`
2 --> $DIR/issue-24690.rs:13:9
3 |
4 LL | let theOtherTwo = 2;
5 | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theOtherTwo`
6 |
7 note: the lint level is defined here
8 --> $DIR/issue-24690.rs:8:9
9 |
10 LL | #![warn(unused)]
11 | ^^^^^^
12 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
13
14 warning: variable `theTwo` should have a snake case name
15 --> $DIR/issue-24690.rs:12:9
16 |
17 LL | let theTwo = 2;
18 | ^^^^^^ help: convert the identifier to snake case: `the_two`
19 |
20 = note: `#[warn(non_snake_case)]` on by default
21
22 warning: variable `theOtherTwo` should have a snake case name
23 --> $DIR/issue-24690.rs:13:9
24 |
25 LL | let theOtherTwo = 2;
26 | ^^^^^^^^^^^ help: convert the identifier to snake case: `the_other_two`
27
28 warning: 3 warnings emitted
29