about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorLance Roy <ldr709@gmail.com>2017-09-03 23:27:20 -0700
committerLance Roy <ldr709@gmail.com>2017-09-04 01:00:15 -0700
commit6276dbd9533e05bd577f408047ea1d0e97293217 (patch)
tree64df64ac16ba0b1b7bc1ae4637bacc6b71eff960 /src/rustllvm/RustWrapper.cpp
parente22a3cf7e12b622b143694942504c66a544dc4c5 (diff)
downloadrust-6276dbd9533e05bd577f408047ea1d0e97293217.tar.gz
rust-6276dbd9533e05bd577f408047ea1d0e97293217.zip
Derive std::mem::ManuallyDrop from Clone and Copy.
Although types that don't implement Drop can't be Copyable, this can
still be useful when ManuallyDrop is used inside a generic type. This
doesn't derive from Copy as that would require T: Copy + Clone, instead
it provides an impl of Clone for T: Clone.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions