about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2024-09-07 21:57:29 +0200
committerSamuel Tardieu <sam@rfc1149.net>2024-09-09 10:18:31 +0200
commit30608732c2f68c423e4a62e6c20cdf28f6d38559 (patch)
treecdff713eb9e78afd7c7db3fae13f98c7741217ee /compiler/rustc_codegen_llvm/src
parent9e9526c6ab12fce8113d6c18d348572f4f98492b (diff)
downloadrust-30608732c2f68c423e4a62e6c20cdf28f6d38559.tar.gz
rust-30608732c2f68c423e4a62e6c20cdf28f6d38559.zip
Handle null pointer constness cast through methods
This covers two cases:

- `core::ptr::null::<T>().cast_mut()` -> `core::ptr::null_mut::<T>()`
- `core::ptr::null_mut::<T>().cast_const()` -> `core::ptr::null::<T>()`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions