rust/tests/ui/lint/enable-unstable-lib-feature.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

15 lines
420 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 1 previous error