about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
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
commit9e73d3368041a74fac40328d91605364e0cedcd7 (patch)
tree27d789fd52956c9a474200829567d464d586ff9a /src/test/rustdoc-ui/coverage/json.rs
parent01bba2c532c1f8bfc1463d672c6b2fc79bd96495 (diff)
parent873e5f5c19818cd0106764fc649c1edadf24972a (diff)
downloadrust-9e73d3368041a74fac40328d91605364e0cedcd7.tar.gz
rust-9e73d3368041a74fac40328d91605364e0cedcd7.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 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions