fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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}
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
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}