]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/borrowck/borrowck-escaping-closure-error-2.stderr
Rollup merge of #102270 - Nilstrieb:delete-useless-benches, r=TaKO8Ki
[rust.git] / src / test / ui / borrowck / borrowck-escaping-closure-error-2.stderr
index b07db6e12ad153242d91914d1ac6e84c09e25e86..814042539a22fa078ea6626e1fb81a152b4b15cd 100644 (file)
@@ -14,7 +14,7 @@ LL |     Box::new(|| books.push(4))
 help: to force the closure to take ownership of `books` (and any other referenced variables), use the `move` keyword
    |
 LL |     Box::new(move || books.push(4))
-   |              ^^^^
+   |              ++++
 
 error: aborting due to previous error