fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2 3#![forbid(unused_mut)] 4 5fn main() { 6 let x = 1; 7 //~^ ERROR: variable does not need to be mutable 8 (move|| { println!("{}", x); })(); 9}
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
1// run-rustfix 2 3#![forbid(unused_mut)] 4 5fn main() { 6 let x = 1; 7 //~^ ERROR: variable does not need to be mutable 8 (move|| { println!("{}", x); })(); 9}