fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
418 B14 linesraw
1error: function `BOGUS` should have a snake case name
2  --> $DIR/enable-unstable-lib-feature.rs:11:8
3   |
4LL | pub fn BOGUS() { }
5   |        ^^^^^ help: convert the identifier to snake case: `bogus`
6   |
7note: the lint level is defined here
8  --> $DIR/enable-unstable-lib-feature.rs:6:9
9   |
10LL | #![deny(non_snake_case)] // To trigger a hard error
11   |         ^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14