about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-12 07:13:40 +0000
committerbors <bors@rust-lang.org>2017-09-12 07:13:40 +0000
commit8fc0fc8c2d9718f8b664afca8e28636a6099e2b8 (patch)
tree982fcd64abf4d0cd67e8f0cdf943fd5ceabd18c9 /src/rustllvm/RustWrapper.cpp
parent3cb24bd37bcc46ecbb1f5f3f96f9d1de0aa7e92d (diff)
parent94301c405c5382c482a4bc5fc2561257418f9323 (diff)
downloadrust-8fc0fc8c2d9718f8b664afca8e28636a6099e2b8.tar.gz
rust-8fc0fc8c2d9718f8b664afca8e28636a6099e2b8.zip
Auto merge of #44310 - ldr709:master, r=BurntSushi
Additional traits for std::mem::ManuallyDrop

The first commit adds `Clone` and `Copy` trait implementations for `ManuallyDrop`. Although `Drop` and `Copy` cannot be used together, this may be useful for generics.

The second commit adds implementations common traits. I do not think this is necessary, as they could be implemented in a wrapper type outside the standard library, but it would make `ManuallyDrop` more convenient to use.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions