about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-02 00:14:21 +0000
committerbors <bors@rust-lang.org>2018-08-02 00:14:21 +0000
commit1d9405fb6caa5eac18e5a28685e4f30dcbde6d45 (patch)
treece4c50b240bfafc9cfe665e533aed28fb8c0c7b8 /src/rustllvm/PassWrapper.cpp
parent97085f9fb0736b322dc216db3655da780b4d8041 (diff)
parent9fcf2c972663ab510417ba1df058f99f0b0d0abe (diff)
downloadrust-1d9405fb6caa5eac18e5a28685e4f30dcbde6d45.tar.gz
rust-1d9405fb6caa5eac18e5a28685e4f30dcbde6d45.zip
Auto merge of #52206 - RalfJung:zst-slices, r=alexcrichton
slices: fix ZST slice iterators making up pointers; debug_assert alignment in from_raw_parts

This fixes the problem that we are fabricating pointers out of thin air. I also managed to share more code between the mutable and shared iterators, while reducing the amount of macros.

I am not sure how useful it really is to add a `debug_assert!` in libcore. Everybody gets a release version of that anyway, right? Is there at least a CI job that runs the test suite with a debug version?

Fixes #42789
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions