2020-06-28 10:28:43 -05:00
|
|
|
error: function `Ц` should have a snake case name
|
2021-04-02 21:35:11 -05:00
|
|
|
--> $DIR/lint-nonstandard-style-unicode-2.rs:17:4
|
2020-06-28 10:28:43 -05:00
|
|
|
|
|
|
|
|
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
|
2021-04-02 21:35:11 -05:00
|
|
|
--> $DIR/lint-nonstandard-style-unicode-2.rs:22:4
|
2020-06-28 10:28:43 -05:00
|
|
|
|
|
|
|
|
LL | fn 分__隔() {}
|
|
|
|
| ^^^^^^ help: convert the identifier to snake case: `分_隔`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|