]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/issue-46023.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / nll / issue-46023.stderr
CommitLineData
8faf50e0 1error[E0594]: cannot assign to `x`, as it is not declared as mutable
48663c56 2 --> $DIR/issue-46023.rs:5:9
8faf50e0
XL
3 |
4LL | let x = 0;
5 | - help: consider changing this to be mutable: `mut x`
6...
7LL | x = 1;
8 | ^^^^^ cannot assign
9
10error: aborting due to previous error
11
60c5eb7d 12For more information about this error, try `rustc --explain E0594`.