about summary refs log tree commit diff
path: root/tests/ui/closures/2229_closure_analysis/issue-118144.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/2229_closure_analysis/issue-118144.stderr')
-rw-r--r--tests/ui/closures/2229_closure_analysis/issue-118144.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/closures/2229_closure_analysis/issue-118144.stderr b/tests/ui/closures/2229_closure_analysis/issue-118144.stderr
index 87084e60237..f717343122e 100644
--- a/tests/ui/closures/2229_closure_analysis/issue-118144.stderr
+++ b/tests/ui/closures/2229_closure_analysis/issue-118144.stderr
@@ -8,8 +8,9 @@ LL |         V(x) = func_arg;
    |
 help: consider dereferencing to access the inner value using the Deref trait
    |
-LL |         V(x) = &*func_arg;
-   |                ~~~~~~~~~~
+LL -         V(x) = func_arg;
+LL +         V(x) = &*func_arg;
+   |
 
 error: aborting due to 1 previous error