]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/command-line-diagnostics.nll.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / command-line-diagnostics.nll.stderr
index 10dcf7d0e657a38d177b763486190b1d1da6f925..46bb7c5af5744f9da42d2156b3800196dfd7ec87 100644 (file)
@@ -2,8 +2,9 @@ error[E0384]: cannot assign twice to immutable variable `x`
   --> $DIR/command-line-diagnostics.rs:16:5
    |
 LL |     let x = 42;
-   |         -   -- first assignment to `x`
+   |         -
    |         |
+   |         first assignment to `x`
    |         consider changing this to `mut x`
 LL |     x = 43;
    |     ^^^^^^ cannot assign twice to immutable variable