fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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