rust/tests/ui/lint/non-snake-case/lint-non-snake-case-crate.lib_.stderr
Tyler Mandry d942113fdb Fix directives for lint-non-snake-case-crate
This test fails on targets without unwinding because the proc macro was
compiled as the target, not the host. Some targets were explicitly
disabled to pass CI, but these directives are more general.

Fixes Fuchsia tests.
2024-10-29 16:40:06 -07:00

15 lines
434 B
Plaintext

error: crate `NonSnakeCase` should have a snake case name
--> $DIR/lint-non-snake-case-crate.rs:36:18
|
LL | #![crate_name = "NonSnakeCase"]
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `non_snake_case`
|
note: the lint level is defined here
--> $DIR/lint-non-snake-case-crate.rs:38:9
|
LL | #![deny(non_snake_case)]
| ^^^^^^^^^^^^^^
error: aborting due to 1 previous error