about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2017-11-01 13:39:44 +0100
committerRalf Jung <post@ralfj.de>2017-11-01 13:39:44 +0100
commit71534c45cc4e850c4265bc1c2491a522583e1185 (patch)
tree6c56b1f694d8625aa535393eef0bf74b012cec1b /src/test/incremental/thinlto
parent2f581cf9d692781847bede5d966b098a5d09b5e4 (diff)
downloadrust-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