about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-29 00:17:23 +0000
committerbors <bors@rust-lang.org>2021-03-29 00:17:23 +0000
commitcc4103089f40a163f6d143f06359cba7043da29b (patch)
treea8735d1c927c018771228af93b6014e7fd3e397f /compiler/rustc_codegen_cranelift/src
parentcb0e0db641bb3a929b0608ece1dd93a181725ff4 (diff)
parent1ab05c13dde13d08a2e1990960582cb9970e90a2 (diff)
downloadrust-cc4103089f40a163f6d143f06359cba7043da29b.tar.gz
rust-cc4103089f40a163f6d143f06359cba7043da29b.zip
Auto merge of #83605 - RalfJung:unaligned, r=petrochenkov
unaligned_references: align(N) fields in packed(N) structs are fine

This removes some false positives from the unaligned_references lint: in a `repr(packed(2))` struct, fields of alignment 2 (and less) are guaranteed to be properly aligned, so we do not have to consider them "disaligned".
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
0 files changed, 0 insertions, 0 deletions