about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-15 16:16:32 +1000
committerGitHub <noreply@github.com>2025-08-15 16:16:32 +1000
commitb955aa722e190689740e6379eee9684c324e8d1f (patch)
tree50abb950a14d4841200c32bed69374751f06e4af /compiler/rustc_codegen_llvm/src
parent44eb7a167c9df395c803bf113a933f668b4c278a (diff)
parent57901fe09242582608dfbaa047ea006cf0c984a2 (diff)
downloadrust-b955aa722e190689740e6379eee9684c324e8d1f.tar.gz
rust-b955aa722e190689740e6379eee9684c324e8d1f.zip
Rollup merge of #144944 - He1pa:E0793, r=compiler-errors
E0793: Clarify that it applies to unions as well

pick up inactive PR: https://github.com/rust-lang/rust/pull/131472

Also:
Adjust the language slightly to be more consistent with other similar messages (was created instead of got created).
Add a short section on union.
Add an example line showing referencing a field in a packed struct is safe if the field's type isn't more strictly aligned than the pack.

r? compiler-errors
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions