1 error[E0594]: cannot assign to `x`, as it is not declared as mutable
2 --> $DIR/issue-46023.rs:5:9
5 | - help: consider changing this to be mutable: `mut x`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0594`.