]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-29723.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-29723.stderr
index e39ddfc81c96835956e9ba9529c9882998a2999a..92ee5cf22b719a7fa8a5e573fbbf073443be0f7e 100644 (file)
@@ -9,6 +9,11 @@ LL |         0 if { drop(s); false } => String::from("oops"),
 ...
 LL |             s
    |             ^ value used here after move
+   |
+help: consider cloning the value if the performance cost is acceptable
+   |
+LL |         0 if { drop(s.clone()); false } => String::from("oops"),
+   |                      ++++++++
 
 error: aborting due to previous error