diff options
| author | Alejandra González <blyxyas@gmail.com> | 2025-02-05 22:17:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-05 22:17:10 +0000 |
| commit | f09701ab6acb6db235317c8ed73bb6e923814f35 (patch) | |
| tree | e50458ea1daee03307a24a5ccf488cb09edc6fc3 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 390286d6643f8ca3ecc55f389033bcbe6d4d45cf (diff) | |
| parent | bbd58d19d4289f2f223600d14c2746b2fefb0071 (diff) | |
| download | rust-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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
