about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-22 15:29:07 +0000
committerbors <bors@rust-lang.org>2018-08-22 15:29:07 +0000
commitc24f27c0452a9aaecfb70d225d846df2e517385f (patch)
tree03b4d564bb8a380c24e270eb2cf1c388073547b3 /src/test/incremental/thinlto
parent329dde57fddee4d5fa0ae374cb5c8474459dfb0c (diff)
parent0447b5091ce6290e5584e6897942fb4ee243a1c9 (diff)
downloadrust-c24f27c0452a9aaecfb70d225d846df2e517385f.tar.gz
rust-c24f27c0452a9aaecfb70d225d846df2e517385f.zip
Auto merge of #53536 - RalfJung:array-drop, r=eddyb
fix array drop glue: properly turn raw ptr into reference

Discovered while working on https://github.com/rust-lang/rust/pull/53424: The generated drop glue uses an assignment `ptr = cur` where `ptr` is a reference and `cur` a raw pointer. This is not well-formed MIR.

Do we have MIR sanity checks that run on the drop glue and should have caught this?

r? @eddyb
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions