diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-03-24 18:51:16 -0700 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2020-04-13 18:48:55 -0700 |
| commit | db0a5a105666ee4dffd0ab7cda9e0550836beb4c (patch) | |
| tree | cdde91ce419e5362583e7d3e8a4da2756ebfa81a /src/test/ui/async-await/issues | |
| parent | a40ec132621225f3d7e373d6630eb45f862fe39b (diff) | |
| download | rust-db0a5a105666ee4dffd0ab7cda9e0550836beb4c.tar.gz rust-db0a5a105666ee4dffd0ab7cda9e0550836beb4c.zip | |
Improve span label
Diffstat (limited to 'src/test/ui/async-await/issues')
| -rw-r--r-- | src/test/ui/async-await/issues/issue-65436-raw-ptr-not-send.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/issues/issue-65436-raw-ptr-not-send.stderr b/src/test/ui/async-await/issues/issue-65436-raw-ptr-not-send.stderr index 73e2a92d815..a04ae7220ec 100644 --- a/src/test/ui/async-await/issues/issue-65436-raw-ptr-not-send.stderr +++ b/src/test/ui/async-await/issues/issue-65436-raw-ptr-not-send.stderr @@ -5,7 +5,7 @@ LL | fn assert_send<T: Send>(_: T) {} | ---- required by this bound in `assert_send` ... LL | assert_send(async { - | ^^^^^^^^^^^ future returned by `main` is not `Send` + | ^^^^^^^^^^^ future created by async block is not `Send` | = help: within `impl std::future::Future`, the trait `std::marker::Send` is not implemented for `*const u8` note: future is not `Send` as this value is used across an await |
