]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/borrowck/move-in-pattern-mut-in-loop.stderr
Rollup merge of #102500 - compiler-errors:parse-sess-cleanup, r=cjgillot
[rust.git] / src / test / ui / borrowck / move-in-pattern-mut-in-loop.stderr
index 9373e4d95fccdd83c88df95d2e30c7050870206f..c6931ba72579bf74db5e2ffecb6be411512b750b 100644 (file)
@@ -8,7 +8,7 @@ LL |         if let Some(mut _x) = opt {}
 help: borrow this field in the pattern to avoid moving `opt.0`
    |
 LL |         if let Some(ref mut _x) = opt {}
-   |                     ^^^
+   |                     +++
 
 error: aborting due to previous error