]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/issue-64130-2-send.stderr
Rollup merge of #89876 - AlexApps99:const_ops, r=oli-obk
[rust.git] / src / test / ui / async-await / issue-64130-2-send.stderr
index 933e9296848e942b34ebac6659d3ea21a15bc6f7..9c94b8da8929ab48b764fbd8ec11aa6a31158e94 100644 (file)
@@ -1,8 +1,8 @@
 error: future cannot be sent between threads safely
-  --> $DIR/issue-64130-2-send.rs:21:5
+  --> $DIR/issue-64130-2-send.rs:21:13
    |
 LL |     is_send(bar());
-   |     ^^^^^^^ future returned by `bar` is not `Send`
+   |             ^^^^^ future returned by `bar` is not `Send`
    |
    = help: within `impl Future`, the trait `Send` is not implemented for `Foo`
 note: future is not `Send` as this value is used across an await