]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/closures/2229_closure_analysis/migrations/multi_diagnostics.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / closures / 2229_closure_analysis / migrations / multi_diagnostics.stderr
index fa6082cbb59b4c3c649b72692d23517eb2a6f9a3..96d5c936fa593bd05f38bf924e7f4f7b9450168d 100644 (file)
@@ -92,7 +92,7 @@ error: changes to closure capture in Rust 2021 will affect which traits the clos
   --> $DIR/multi_diagnostics.rs:133:19
    |
 LL |     thread::spawn(move || unsafe {
-   |                   ^^^^^^^^^^^^^^
+   |                   ^^^^^^^
    |                   |
    |                   in Rust 2018, this closure implements `Send` as `fptr1` implements `Send`, but in Rust 2021, this closure will no longer implement `Send` because `fptr1` is not fully captured and `fptr1.0.0` does not implement `Send`
    |                   in Rust 2018, this closure implements `Sync` as `fptr1` implements `Sync`, but in Rust 2021, this closure will no longer implement `Sync` because `fptr1` is not fully captured and `fptr1.0.0` does not implement `Sync`