]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/closures/closure-bounds-static-cant-capture-borrowed.nll.stderr
Auto merge of #84267 - dtolnay:ptrunit, r=nagisa
[rust.git] / src / test / ui / closures / closure-bounds-static-cant-capture-borrowed.nll.stderr
index 7823e3570096e20680eed3d474201fff2c2552fe..e7d9664ec505ee39db917ec154a42a28e0efed56 100644 (file)
@@ -27,7 +27,7 @@ LL | |     })
 help: to force the closure to take ownership of `x` (and any other referenced variables), use the `move` keyword
    |
 LL |     bar(move || {
-   |         ^^^^
+   |         ++++
 
 error: aborting due to 2 previous errors