b717aa1b95
Mainly so that it is easier to only run all `non-snake-case`-specific tests but no other tests with: ./x test tests/ui/lint/non-snake-case But also to reduce the size of the large `tests/ui/lint` directory. And rename some tests to pass tidy, and remove them from `src/tools/tidy/src/issues.txt`.
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
|
|
|