diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/codemap_tests/huge_multispan_highlight.stderr (renamed from src/test/ui/codemap_tests/huge_multispan_highlight.stderr) | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/test/ui/codemap_tests/huge_multispan_highlight.stderr b/tests/ui/codemap_tests/huge_multispan_highlight.stderr index a60f1c77a..9f8ce3b61 100644 --- a/src/test/ui/codemap_tests/huge_multispan_highlight.stderr +++ b/tests/ui/codemap_tests/huge_multispan_highlight.stderr @@ -1,11 +1,13 @@ error[E0596]: cannot borrow `x` as mutable, as it is not declared as mutable --> $DIR/huge_multispan_highlight.rs:90:13 | -LL | let x = "foo"; - | - help: consider changing this to be mutable: `mut x` -... LL | let y = &mut x; | ^^^^^^ cannot borrow as mutable + | +help: consider changing this to be mutable + | +LL | let mut x = "foo"; + | +++ error: aborting due to previous error |