about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-27 12:58:41 +0000
committerbors <bors@rust-lang.org>2022-09-27 12:58:41 +0000
commitc153bd62377f3c563b9f6e9d6ba7742523c45209 (patch)
treead026858bbfa1d4cec15a6309a143b1b4c125576 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent78dc616a7ae9815ea6bacccbb3aa40d27ed5eb6c (diff)
parentb180d954d600a8c9b98ee31d0298ce1b13b6291f (diff)
downloadrust-c153bd62377f3c563b9f6e9d6ba7742523c45209.tar.gz
rust-c153bd62377f3c563b9f6e9d6ba7742523c45209.zip
Auto merge of #9539 - Jarcho:ice_9445, r=flip1995
Don't lint `*_interior_mutable_const` on unions due to potential ICE.

fixes #9445
cc rust-lang/rust#101113

This started ICE'ing sometime last month due to stricter UB checks. I'm not sure how we could check the value of a union as MIRI doesn't seem to store which field is currently active.

changelog: Don't ICE on const unions containing a `!Freeze` type.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions