rust/compiler/rustc_borrowck
bors 8824994ccd Auto merge of #108691 - aliemjay:closure-subject, r=jackh726
fix multiple issues when promoting type-test subject

Multiple interdependent fixes.  See linked issues for a short description of each.

When Promoting a type-test `T: 'a` from within the closure back to its parent function, there are a couple pre-existing bugs and limitations. They were exposed by the recent changes to opaque types because the type-test subject (`T`) is no longer a simple ParamTy.

Commit 1:
Fixes #108635
Fixes #107426

Commit 2:
Fixes #108639

Commit 3:
Fixes #107516
2023-03-07 03:50:22 +00:00
..
locales errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
src Auto merge of #108691 - aliemjay:closure-subject, r=jackh726 2023-03-07 03:50:22 +00:00
Cargo.toml Do not use hir_ty_to_ty 2022-12-23 16:45:16 -08:00