about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-30 20:39:01 +0000
committerbors <bors@rust-lang.org>2022-08-30 20:39:01 +0000
commit7ba06ec9c5fb165e717f6d732ce50771733f31c4 (patch)
tree5c327bb809071c9a76f814c9d779d8695dca4626 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
parentce847beb4794a5149a714b21b68347daf27a380c (diff)
parent98fe5f7c7d8c2b8b4559fadc7e58844bc4262728 (diff)
downloadrust-7ba06ec9c5fb165e717f6d732ce50771733f31c4.tar.gz
rust-7ba06ec9c5fb165e717f6d732ce50771733f31c4.zip
Auto merge of #98919 - 5225225:stricter-invalid-value, r=RalfJung
Strengthen invalid_value lint to forbid uninit primitives, adjust docs to say that's UB

For context: https://github.com/rust-lang/rust/issues/66151#issuecomment-1174477404=

This does not make it a FCW, but it does explicitly state in the docs that uninit integers are UB.

This also doesn't affect any runtime behavior, uninit u32's will still successfully be created through mem::uninitialized.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions