diff options
| author | kennytm <kennytm@gmail.com> | 2017-11-07 15:52:10 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2017-11-07 22:40:12 +0800 |
| commit | eae36714dff92b1c149bb48d3f6ecb515c9c0470 (patch) | |
| tree | e9d93bb994ae6fb7db7c5cd59c18c28b905fbd4a /src/test/incremental/thinlto | |
| parent | 843dc4bd76a337ae8fd49ea3edf619e781aa2cb1 (diff) | |
| parent | 71534c45cc4e850c4265bc1c2491a522583e1185 (diff) | |
| download | rust-eae36714dff92b1c149bb48d3f6ecb515c9c0470.tar.gz rust-eae36714dff92b1c149bb48d3f6ecb515c9c0470.zip | |
Rollup merge of #45682 - RalfJung:rwlock-guards, r=alexcrichton
RwLock guards are Sync if T is
Currently, the compiler requires `T` to also be `Send`. There is no reason for
that. `&Rw{Read,Write}LockGuard` only provides a shared referenced to `T`, sending
that across threads is safe if `T` is `Sync`.
Cc @oconnor663
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
