diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-08-11 01:56:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-11 01:56:30 +0200 |
| commit | 9e73d3368041a74fac40328d91605364e0cedcd7 (patch) | |
| tree | 27d789fd52956c9a474200829567d464d586ff9a /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 01bba2c532c1f8bfc1463d672c6b2fc79bd96495 (diff) | |
| parent | 873e5f5c19818cd0106764fc649c1edadf24972a (diff) | |
| download | rust-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
