rust/clippy_utils
Yuki Okushi 1f3116f806 Rollup merge of #97289 - compiler-errors:tcxify-clippy, r=Mark-Simulacrum
Lifetime variance fixes for clippy

#97287 migrates rustc to a `Ty` type that is invariant over its lifetime `'tcx`, so I need to fix a bunch of places that assume that `Ty<'a>` and `Ty<'b>` can be shortened to some common lifetime.

This is doable, since everything is already `'tcx`, so all this PR does is be a bit more explicit that elided lifetimes are actually `'tcx`.

Split out from #97287 so the clippy team can review independently.
2022-05-24 12:18:31 +09:00
..
src Rollup merge of #97289 - compiler-errors:tcxify-clippy, r=Mark-Simulacrum 2022-05-24 12:18:31 +09:00
Cargo.toml Merge 'rust-clippy/master' into clippyup 2022-05-21 13:24:00 +02:00