fork/rust

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

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

master
1.2 KiB32 linesraw
1warning: type `𝕟𝕠𝕥𝕒𝕔𝕒𝕞𝕖𝕝` should have an upper camel case name
2  --> $DIR/special-upper-lower-cases.rs:10:8
3   |
4LL | struct 𝕟𝕠𝕥𝕒𝕔𝕒𝕞𝕖𝕝;
5   |        ^^^^^^^^^ should have an UpperCamelCase name
6   |
7   = note: `#[warn(non_camel_case_types)]` on by default
8
9warning: type `𝕟𝕠𝕥_𝕒_𝕔𝕒𝕞𝕖𝕝` should have an upper camel case name
10  --> $DIR/special-upper-lower-cases.rs:14:8
11   |
12LL | struct 𝕟𝕠𝕥_𝕒_𝕔𝕒𝕞𝕖𝕝;
13   |        ^^^^^^^^^^^ should have an UpperCamelCase name
14
15warning: static variable `𝗻𝗼𝗻𝘂𝗽𝗽𝗲𝗿𝗰𝗮𝘀𝗲` should have an upper case name
16  --> $DIR/special-upper-lower-cases.rs:17:8
17   |
18LL | static 𝗻𝗼𝗻𝘂𝗽𝗽𝗲𝗿𝗰𝗮𝘀𝗲: i32 = 1;
19   |        ^^^^^^^^^^^^ should have an UPPER_CASE name
20   |
21   = note: `#[warn(non_upper_case_globals)]` on by default
22
23warning: variable `𝓢𝓝𝓐𝓐𝓐𝓐𝓚𝓔𝓢` should have a snake case name
24  --> $DIR/special-upper-lower-cases.rs:21:9
25   |
26LL |     let 𝓢𝓝𝓐𝓐𝓐𝓐𝓚𝓔𝓢 = 1;
27   |         ^^^^^^^^^ should have a snake_case name
28   |
29   = note: `#[warn(non_snake_case)]` on by default
30
31warning: 4 warnings emitted
32