]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/enable-unstable-lib-feature.stderr
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / ui / lint / enable-unstable-lib-feature.stderr
1 error: function `BOGUS` should have a snake case name
2   --> $DIR/enable-unstable-lib-feature.rs:11:8
3    |
4 LL | pub fn BOGUS() { }
5    |        ^^^^^ help: convert the identifier to snake case: `bogus`
6    |
7 note: the lint level is defined here
8   --> $DIR/enable-unstable-lib-feature.rs:6:9
9    |
10 LL | #![deny(non_snake_case)] // To trigger a hard error
11    |         ^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14