diff options
| author | bors <bors@rust-lang.org> | 2017-01-10 02:45:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-10 02:45:37 +0000 |
| commit | 26dc969b3df61255646f54e0a5dd1664f419ba3d (patch) | |
| tree | 40effe36a5f2cbd7a9e3b938c70201046dcd6eef /src/rustllvm/RustWrapper.cpp | |
| parent | 76bc5e1c800eedc7cc3729dc6529ea196822d2bf (diff) | |
| parent | b9b0732d2a8bfed04d3102706f8d03ad5709b4a0 (diff) | |
| download | rust-26dc969b3df61255646f54e0a5dd1664f419ba3d.tar.gz rust-26dc969b3df61255646f54e0a5dd1664f419ba3d.zip | |
Auto merge of #38934 - Manishearth:nodrop, r=eddyb
Remove destructor-related restrictions from unions
They don't have drop glue.
This doesn't fix the rvalue promotion issues when trying to do things like `static FOO: NoDrop<Bar> = NoDrop {inner: Bar}`. I'm not sure if we should fix that.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
