2019-01-04 10:19:52 -05:00
|
|
|
error: crate `NonSnakeCase` should have a snake case name
|
2024-03-03 13:24:28 +00:00
|
|
|
--> $DIR/lint-non-snake-case-crate-rlib.rs:3:18
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | #![crate_name = "NonSnakeCase"]
|
2019-01-04 10:19:52 -05:00
|
|
|
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `non_snake_case`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2024-03-03 13:24:28 +00:00
|
|
|
--> $DIR/lint-non-snake-case-crate-rlib.rs:5:9
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | #![deny(non_snake_case)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|