fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
202 B7 linesraw
1// run-rustfix
2fn main() {
3    let foo = 42u32;
4    #[allow(unused_variables, non_snake_case)]
5    let FOO : u32 = foo;
6                   //~^ ERROR attempt to use a non-constant value in a constant
7}