]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/async-await/issues/issue-62097.nll.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / async-await / issues / issue-62097.nll.stderr
index ab10e5f1810bdb63fba5094931b31e7d617c569f..e71bcf5822808cd0c2b84bd9f98868bc72251b9b 100644 (file)
@@ -14,7 +14,7 @@ LL |         foo(|| self.bar()).await;
 help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword
    |
 LL |         foo(move || self.bar()).await;
-   |             ^^^^^^^
+   |             ++++
 
 error[E0521]: borrowed data escapes outside of associated function
   --> $DIR/issue-62097.rs:13:9