mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
1f3116f806
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |