about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-18 16:27:08 +0100
committerGitHub <noreply@github.com>2024-03-18 16:27:08 +0100
commit3fa48ec8495bbd1106a609dfe291b61f8ca13573 (patch)
tree9a6f1f7defe04a5ac74c3febd7fa73d9b645253d /compiler/rustc_pattern_analysis/src
parentacc45ebf725ecbb80db0665857adc4936c849e3f (diff)
parentbcf8015177683efb407cbab2b05f98322da9dab3 (diff)
downloadrust-3fa48ec8495bbd1106a609dfe291b61f8ca13573.tar.gz
rust-3fa48ec8495bbd1106a609dfe291b61f8ca13573.zip
Rollup merge of #122647 - RalfJung:box-to-raw-retag, r=oli-obk
add_retag: ensure box-to-raw-ptr casts are preserved for Miri

In https://github.com/rust-lang/rust/pull/122233 I added `retag_box_to_raw` not realizing that we can already do `addr_of_mut!(*bx)` to turn a box into a raw pointer without an intermediate reference. We just need to ensure this information is preserved past the ElaborateBoxDerefs pass.

r? ``@oli-obk``
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions