about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorEzra Shaw <ezrasure@outlook.com>2023-04-19 18:22:03 +1200
committerEzra Shaw <ezrashawdev@gmail.com>2023-05-05 22:40:04 +1200
commitfd8aa5ec7d26c8e08d13b38213391c757045e51d (patch)
tree94da6e4f1fc96cb25f2b544a88f76aca77d1d857 /tests/ui/error-codes
parent3320f2fab64f36dae94b830f8c4b166857b6919b (diff)
downloadrust-fd8aa5ec7d26c8e08d13b38213391c757045e51d.tar.gz
rust-fd8aa5ec7d26c8e08d13b38213391c757045e51d.zip
tweak "make mut" spans when assigning to locals
Diffstat (limited to 'tests/ui/error-codes')
-rw-r--r--tests/ui/error-codes/E0389.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0389.stderr b/tests/ui/error-codes/E0389.stderr
index 51c4c92addf..e4001856c38 100644
--- a/tests/ui/error-codes/E0389.stderr
+++ b/tests/ui/error-codes/E0389.stderr
@@ -7,7 +7,7 @@ LL |     fancy_ref.num = 6;
 help: consider changing this to be a mutable reference
    |
 LL |     let fancy_ref = &mut (&mut fancy);
-   |                     ~~~~~~~~~~~~~~~~~
+   |                      +++
 
 error: aborting due to previous error