rust/tests/ui/lint/non-snake-case/lint-nonstandard-style-unicode-2.stderr
Martin Nordholts b717aa1b95 tests/ui/lint: Move 19 tests to new non-snake-case subdir
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`.
2024-06-15 18:18:43 +02:00

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