rust/compiler/rustc_hir_analysis/src
bors 307dd938d7 Auto merge of #101454 - cjgillot:concat-binders, r=estebank
Do not overwrite lifetime binders for another HirId.

This PR makes higher-ranked bounds in where clauses a bit more principled.
We used to conflate `for<'a> T: Trait` with `(for<'a> T): Trait`.
This PR separates both binders.

This caused issued with fn types, which have their own binder, causing us to overwrite the predicates's binders with `fn`'s binders, ICEing.

Fixes https://github.com/rust-lang/rust/issues/98594
2022-09-28 14:42:55 +00:00
..
astconv Deny associated type bindings within associated type bindings 2022-09-27 17:41:34 +00:00
check Deduplicate some logic 2022-09-28 02:36:58 +02:00
coherence rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
collect rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
impl_wf_check rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
outlives rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
structured_errors rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
variance rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
bounds.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
check_unused.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
collect.rs Do not overwrite binders for another HirId. 2022-09-27 18:58:37 +02:00
constrained_generic_params.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
expr_use_visitor.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
hir_wf_check.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
impl_wf_check.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
lib.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
mem_categorization.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00