summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/issue-52059-report-when-borrow-and-drop-conflict.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/nll/issue-52059-report-when-borrow-and-drop-conflict.stderr (renamed from src/test/ui/nll/issue-52059-report-when-borrow-and-drop-conflict.stderr)6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/ui/nll/issue-52059-report-when-borrow-and-drop-conflict.stderr b/tests/ui/nll/issue-52059-report-when-borrow-and-drop-conflict.stderr
index c0a17a67e..7f9cbc3c3 100644
--- a/src/test/ui/nll/issue-52059-report-when-borrow-and-drop-conflict.stderr
+++ b/tests/ui/nll/issue-52059-report-when-borrow-and-drop-conflict.stderr
@@ -36,7 +36,11 @@ LL | let p = s.url; p
| |
| cannot move out of here
| move occurs because `s.url` has type `&mut String`, which does not implement the `Copy` trait
- | help: consider borrowing here: `&s.url`
+ |
+help: consider borrowing here
+ |
+LL | let p = &s.url; p
+ | +
error: aborting due to 4 previous errors