about summary refs log tree commit diff
path: root/compiler/rustc_llvm/src/lib.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-01-17 00:17:13 +0100
committerSamuel Tardieu <sam@rfc1149.net>2025-01-17 00:43:36 +0100
commitbbd58d19d4289f2f223600d14c2746b2fefb0071 (patch)
tree99d6261095b488eac7059d3b800d3bc5f1709c4c /compiler/rustc_llvm/src/lib.rs
parent8d0c0eb9173723342844b02f7c0a4596168d26c5 (diff)
downloadrust-bbd58d19d4289f2f223600d14c2746b2fefb0071.tar.gz
rust-bbd58d19d4289f2f223600d14c2746b2fefb0071.zip
Do not trigger `[size_of_in_element_count]` for `u8`
Counting in bytes for a pointer to `u8` is legitimate and must not
trigger the lint. Also, this prevents linting the
`{std,core}::ptr::write_bytes` as it manipulates bytes.
Diffstat (limited to 'compiler/rustc_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions