about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/traits/debuginfo.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-25 13:27:21 +0000
committerbors <bors@rust-lang.org>2023-08-25 13:27:21 +0000
commit25ed43ddf3e03835e5a2f2c25463ceea17a66ae5 (patch)
tree1f37e9ef91cf6f9d2d24c7e396893fccb08fe6bd /compiler/rustc_codegen_ssa/src/traits/debuginfo.rs
parent738df13e8a73d6d95ddec81b7393b2d2a64b7e93 (diff)
parent15a68610dd06351feac543afcd0802e6e2622ac8 (diff)
downloadrust-25ed43ddf3e03835e5a2f2c25463ceea17a66ae5.tar.gz
rust-25ed43ddf3e03835e5a2f2c25463ceea17a66ae5.zip
Auto merge of #115138 - cjgillot:dse-move-packed, r=compiler-errors
Do not convert copies of packed projections to moves.

This code path was introduced in https://github.com/rust-lang/rust/pull/113758

After seeing https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/Packed.20fields.20and.20in-place.20function.20argument.2Freturn.20passing, this may be UB, so should be disallowed.

This should not appear in normally-built MIR, which introduces temporary copies for packed projections.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/traits/debuginfo.rs')
0 files changed, 0 insertions, 0 deletions