summaryrefslogtreecommitdiff
path: root/tests/ui/async-await/issue-64130-non-send-future-diags.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/issue-64130-non-send-future-diags.stderr')
-rw-r--r--tests/ui/async-await/issue-64130-non-send-future-diags.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/async-await/issue-64130-non-send-future-diags.stderr b/tests/ui/async-await/issue-64130-non-send-future-diags.stderr
index 1da80d98bf8..e044e2ca011 100644
--- a/tests/ui/async-await/issue-64130-non-send-future-diags.stderr
+++ b/tests/ui/async-await/issue-64130-non-send-future-diags.stderr
@@ -6,12 +6,12 @@ LL | is_send(foo());
|
= help: within `impl Future<Output = ()>`, the trait `Send` is not implemented for `MutexGuard<'_, u32>`
note: future is not `Send` as this value is used across an await
- --> $DIR/issue-64130-non-send-future-diags.rs:17:10
+ --> $DIR/issue-64130-non-send-future-diags.rs:17:11
|
LL | let g = x.lock().unwrap();
| - has type `MutexGuard<'_, u32>` which is not `Send`
LL | baz().await;
- | ^^^^^^ await occurs here, with `g` maybe used later
+ | ^^^^^ await occurs here, with `g` maybe used later
LL | }
| - `g` is later dropped here
note: required by a bound in `is_send`