]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-46023.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-46023.stderr
1 error[E0594]: cannot assign to `x`, as it is not declared as mutable
2   --> $DIR/issue-46023.rs:5:9
3    |
4 LL |     let x = 0;
5    |         - help: consider changing this to be mutable: `mut x`
6 ...
7 LL |         x = 1;
8    |         ^^^^^ cannot assign
9
10 error: aborting due to previous error
11