fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
835 B27 linesraw
1warning: unused variable: `theOtherTwo`
2  --> $DIR/issue-24690.rs:13:9
3   |
4LL |     let theOtherTwo = 2;
5   |         ^^^^^^^^^^^ help: consider prefixing with an underscore: `_theOtherTwo`
6   |
7note: lint level 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