about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-05-24 15:58:24 +0200
committerGitHub <noreply@github.com>2022-05-24 15:58:24 +0200
commit3569a426b5d561076c4dc43828efd05be82a07f2 (patch)
treedc0cbb00559f60107d12f1028693e0fc6902e196 /compiler/rustc_codegen_gcc
parentb2eba058e6e1c698723e47074561a30b50b5fa7a (diff)
parentb2a95cb582cec1088b060e79e1ef6ce5a9393ed0 (diff)
downloadrust-3569a426b5d561076c4dc43828efd05be82a07f2.tar.gz
rust-3569a426b5d561076c4dc43828efd05be82a07f2.zip
Rollup merge of #97288 - compiler-errors:tcxify-rustdoc, r=Dylan-DPC
Lifetime variance fixes for rustdoc

#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 unified by shortening both 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 rustdoc team can review independently.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions