about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-09 05:58:42 +0200
committerGitHub <noreply@github.com>2022-04-09 05:58:42 +0200
commit525438b6a9161f9c2bf80e495526b8fe10125947 (patch)
treedd2cb3175e287b1264fa5a2a22fb0827a3205934 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9010879c0ac4256e867280421eb94ffae2cd9ad3 (diff)
parent98a483423720bda1f51a22f01b378fa8e8e8b9a3 (diff)
downloadrust-525438b6a9161f9c2bf80e495526b8fe10125947.tar.gz
rust-525438b6a9161f9c2bf80e495526b8fe10125947.zip
Rollup merge of #95599 - niluxv:strict-provenance-lint, r=michaelwoerister
Strict provenance lints

See #95488.
This PR introduces two unstable (allow by default) lints to which lint on int2ptr and ptr2int casts, as the former is not possible in the strict provenance model and the latter can be written nicer using the `.addr()` API.
Based on an initial version of the lint by ```@Gankra``` in #95199.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions