fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: static variable `foo` should have an upper case name 2 --> $DIR/lint-non-uppercase-statics.rs:4:8 3 | 4LL | static foo: isize = 1; 5 | ^^^ help: convert the identifier to upper case (notice the capitalization): `FOO` 6 | 7note: lint level defined here 8 --> $DIR/lint-non-uppercase-statics.rs:1:11 9 | 10LL | #![forbid(non_upper_case_globals)] 11 | ^^^^^^^^^^^^^^^^^^^^^^ 12 13error: static variable `bar` should have an upper case name 14 --> $DIR/lint-non-uppercase-statics.rs:6:12 15 | 16LL | static mut bar: isize = 1; 17 | ^^^ help: convert the identifier to upper case: `BAR` 18 19error: aborting due to 2 previous errors 20