]> git.lizzy.rs Git - rust.git/blob - src/test/ui/command-line-diagnostics.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / command-line-diagnostics.stderr
1 error[E0384]: cannot assign twice to immutable variable `x`
2   --> $DIR/command-line-diagnostics.rs:16:5
3    |
4 LL |     let x = 42;
5    |         - first assignment to `x`
6 LL |     x = 43;
7    |     ^^^^^^ cannot assign twice to immutable variable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0384`.