mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
21 lines
593 B
Plaintext
21 lines
593 B
Plaintext
error: function `Ц` should have a snake case name
|
|
--> $DIR/lint-nonstandard-style-unicode-2.rs:17:4
|
|
|
|
|
LL | fn Ц() {}
|
|
| ^ help: convert the identifier to snake case: `ц`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-nonstandard-style-unicode-2.rs:3:11
|
|
|
|
|
LL | #![forbid(non_snake_case)]
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: function `分__隔` should have a snake case name
|
|
--> $DIR/lint-nonstandard-style-unicode-2.rs:22:4
|
|
|
|
|
LL | fn 分__隔() {}
|
|
| ^^^^^^ help: convert the identifier to snake case: `分_隔`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|