mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
15 lines
418 B
Plaintext
15 lines
418 B
Plaintext
error: function `BOGUS` should have a snake case name
|
|
--> $DIR/enable-unstable-lib-feature.rs:11:8
|
|
|
|
|
LL | pub fn BOGUS() { }
|
|
| ^^^^^ help: convert the identifier to snake case: `bogus`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/enable-unstable-lib-feature.rs:6:9
|
|
|
|
|
LL | #![deny(non_snake_case)] // To trigger a hard error
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|