about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorrail <12975677+rail-rain@users.noreply.github.com>2021-01-04 10:34:11 +1300
committerrail <12975677+rail-rain@users.noreply.github.com>2021-01-05 10:19:03 +1300
commit4b478a5731956de7d19db9ac76fed81b2ae9db1c (patch)
tree81b1c0b5c9ec01e30bdb5a3e450516c5be25d321 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent976850b69b6a76930c59c3a5a228b623abe9210b (diff)
downloadrust-4b478a5731956de7d19db9ac76fed81b2ae9db1c.tar.gz
rust-4b478a5731956de7d19db9ac76fed81b2ae9db1c.zip
Add a new lint `ptr_as_ptr`,
which checks for `as` casts between raw pointers
without changing its mutability
and suggest replacing it with `pointer::cast`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions