about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-02-05 22:17:10 +0000
committerGitHub <noreply@github.com>2025-02-05 22:17:10 +0000
commitf09701ab6acb6db235317c8ed73bb6e923814f35 (patch)
treee50458ea1daee03307a24a5ccf488cb09edc6fc3 /compiler/rustc_llvm/llvm-wrapper
parent390286d6643f8ca3ecc55f389033bcbe6d4d45cf (diff)
parentbbd58d19d4289f2f223600d14c2746b2fefb0071 (diff)
downloadrust-f09701ab6acb6db235317c8ed73bb6e923814f35.tar.gz
rust-f09701ab6acb6db235317c8ed73bb6e923814f35.zip
Do not trigger `[size_of_in_element_count]` for `u8` (#14011)
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.

Fix #6590

changelog: [`size_of_in_element_count`]: do not lint if the pointee type
is `u8`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions