]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/E0596.ast.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / E0596.ast.stderr
index d88530b21647e9f775c5feffa704ebc160abbad2..6aec37d4972f351c328252a89c0b82449c044412 100644 (file)
@@ -2,7 +2,7 @@ error[E0596]: cannot borrow immutable local variable `x` as mutable
   --> $DIR/E0596.rs:16:18
    |
 LL |     let x = 1;
-   |         - consider changing this to `mut x`
+   |         - help: make this binding mutable: `mut x`
 LL |     let y = &mut x; //[ast]~ ERROR [E0596]
    |                  ^ cannot borrow mutably