]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/issues/issue-62097.nll.stderr
Use multispan suggestions more often
[rust.git] / src / test / ui / async-await / issues / issue-62097.nll.stderr
index ab10e5f1810bdb63fba5094931b31e7d617c569f..1139175f8a07a87f0c74be1e419480f1f0f82c60 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