diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-01 09:55:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-01 09:55:31 +0200 |
| commit | 25f774a4cfe4a2686de6c6d628db33c65e231039 (patch) | |
| tree | 3fa35c8608ec50cac4e1504ba5d59d88c51cb1ed /src/libstd/sys/unix/stack_overflow.rs | |
| parent | f45de9a69048a5900f5de9c1816f9464f00782b3 (diff) | |
| parent | 04fa9b1b3f947fa66bb3e92702e134c72af9486f (diff) | |
| download | rust-25f774a4cfe4a2686de6c6d628db33c65e231039.tar.gz rust-25f774a4cfe4a2686de6c6d628db33c65e231039.zip | |
Rollup merge of #64895 - davidtwco:issue-64130-async-error-definition, r=nikomatsakis
async/await: improve not-send errors cc #64130. ``` note: future does not implement `std::marker::Send` because this value is used across an await --> $DIR/issue-64130-non-send-future-diags.rs:15:5 | LL | let g = x.lock().unwrap(); | - has type `std::sync::MutexGuard<'_, u32>` LL | baz().await; | ^^^^^^^^^^^ await occurs here, with `g` maybe used later LL | } | - `g` is later dropped here ``` r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
