]> git.proxmox.com Git - rustc.git/blame - src/test/ui/command-line-diagnostics.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / command-line-diagnostics.stderr
CommitLineData
ff7c6d11 1error[E0384]: cannot assign twice to immutable variable `x`
0731742a 2 --> $DIR/command-line-diagnostics.rs:6:5
ff7c6d11 3 |
0531ce1d 4LL | let x = 42;
48663c56
XL
5 | -
6 | |
7 | first assignment to `x`
cdc7bbd5 8 | help: consider making this binding mutable: `mut x`
0531ce1d 9LL | x = 43;
ff7c6d11
XL
10 | ^^^^^^ cannot assign twice to immutable variable
11
12error: aborting due to previous error
13
0531ce1d 14For more information about this error, try `rustc --explain E0384`.