diff options
| author | Ralf Jung <post@ralfj.de> | 2017-11-01 13:39:44 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2017-11-01 13:39:44 +0100 |
| commit | 71534c45cc4e850c4265bc1c2491a522583e1185 (patch) | |
| tree | 6c56b1f694d8625aa535393eef0bf74b012cec1b /src/test/incremental/thinlto | |
| parent | 2f581cf9d692781847bede5d966b098a5d09b5e4 (diff) | |
| download | rust-71534c45cc4e850c4265bc1c2491a522583e1185.tar.gz rust-71534c45cc4e850c4265bc1c2491a522583e1185.zip | |
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`.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
