2019-01-04 10:19:52 -05:00
|
|
|
error: function `BOGUS` should have a snake case name
|
2019-07-23 20:34:17 +03:00
|
|
|
--> $DIR/enable-unstable-lib-feature.rs:11:8
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | pub fn BOGUS() { }
|
2019-01-04 10:19:52 -05:00
|
|
|
| ^^^^^ help: convert the identifier to snake case: `bogus`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/enable-unstable-lib-feature.rs:6:9
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | #![deny(non_snake_case)] // To trigger a hard error
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|