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