fork/rust

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

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

master
147 B9 linesraw
1// run-rustfix
2
3#![deny(unused_mut)]
4
5fn main() {
6    let x; //~ ERROR: variable does not need to be mutable
7    x = String::new();
8    dbg!(x);
9}