fork/rust

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

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

master
166 B9 linesraw
1// run-rustfix
2fn main() {
3    let foo = 100;
4
5    let y: isize = foo + 1;
6    //~^ ERROR attempt to use a non-constant value in a constant
7
8    println!("{}", y);
9}