fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
411 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: lint level 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