about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-24 12:18:31 +0900
committerGitHub <noreply@github.com>2022-05-24 12:18:31 +0900
commit1f3116f806ecdc26ec7fd887005f1a91f353565f (patch)
tree0fe7f430cb20087fe19e2556a6e52e19aa73b1fe /src/test/codegen/src-hash-algorithm
parent77d2b100509646a26435d69f97aee7d031a0aa37 (diff)
parent0ad3a0ac07fd08fe6f6d6c603331f19c8d9b3033 (diff)
downloadrust-1f3116f806ecdc26ec7fd887005f1a91f353565f.tar.gz
rust-1f3116f806ecdc26ec7fd887005f1a91f353565f.zip
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions