about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-08-11 01:56:30 +0200
committerGitHub <noreply@github.com>2020-08-11 01:56:30 +0200
commit63d1e372a617217e8fc04b8363d662db1300175b (patch)
tree5d9f40c4ded0284d1a263ff09da9ba59c8964222 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent770bd3d1d03f0de2e27b1ae6a0604597d0e26f84 (diff)
parentd2e7293078076c801a3774cdb0c805da3e1ba154 (diff)
downloadrust-63d1e372a617217e8fc04b8363d662db1300175b.tar.gz
rust-63d1e372a617217e8fc04b8363d662db1300175b.zip
Rollup merge of #75098 - Ryan1729:clippy-pointer-cast-lint-experiment, r=oli-obk
Clippy pointer cast lint experiment

This PR is an experiment about exposing more parts of `rustc_typeck` for use in `clippy`. In particular, the code that checks where a cast is valid or not was exposed, which necessitated exposing [`FnCtxt`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/check/struct.FnCtxt.html), and figuring out how to create an instance of that type inside `clippy`.

This was prompted by [this clippy issue](https://github.com/rust-lang/rust-clippy/issues/2064).

r? @oli-obk
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions