about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-23 04:16:28 -0700
committerGitHub <noreply@github.com>2016-08-23 04:16:28 -0700
commit43204fff5d0a656f8a94bfff3129e04bc9d30ad4 (patch)
tree9435f13325fe19f06552bf1b51596f3ea274218b /src/rustllvm/RustWrapper.cpp
parent599f1b96b19c2a67b1e854a64e0cd43af3de164d (diff)
parent1fd791ad62a4bb901be465997d9efbf4090819f0 (diff)
downloadrust-43204fff5d0a656f8a94bfff3129e04bc9d30ad4.tar.gz
rust-43204fff5d0a656f8a94bfff3129e04bc9d30ad4.zip
Auto merge of #35627 - apasel422:coerce-cell, r=alexcrichton
Implement `CoerceUnsized` for `{Cell, RefCell, UnsafeCell}`

These impls are analogous to the one for `NonZero`. It's occasionally useful to be able to coerce the cell types when they're being used inside another abstraction. See Manishearth/rust-gc#17 for an example.

r? @eddyb
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions