rust/compiler/rustc_hir_analysis/src
Matthias Krüger d10187f040
Rollup merge of #103780 - compiler-errors:bound-closure-lifetimes, r=jackh726
Fix late-bound lifetime closure ICEs in HIR typeck and MIR borrowck

During HIR typeck, we need to teach astconv to treat late-bound regions within a closure body as free, fixing escaping bound vars ICEs in both of the issues below.

However, this then gets us to MIR borrowck, which itself needs to be taught how to instantiate free region vids for late-bound regions that come from items that _aren't_ the typeck root (for now, just closures).

Fixes #103771
Fixes #103736
2022-11-04 12:18:01 +01:00
..
astconv Rollup merge of #103915 - chenyukang:yukang/fix-103874, r=lcnr 2022-11-04 06:40:32 +01:00
check Auto merge of #103590 - compiler-errors:ocx-more, r=lcnr 2022-11-01 12:15:10 +00:00
coherence Rollup merge of #103915 - chenyukang:yukang/fix-103874, r=lcnr 2022-11-04 06:40:32 +01:00
collect Rollup merge of #103780 - compiler-errors:bound-closure-lifetimes, r=jackh726 2022-11-04 12:18:01 +01:00
impl_wf_check Fix compiler docs 2022-10-10 18:28:29 +02:00
outlives Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
structured_errors rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
variance Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
bounds.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
check_unused.rs Rollup merge of #103618 - nnethercote:rename-OwnerId-fields, r=compiler-errors 2022-10-29 14:18:03 +02:00
collect.rs Simplify astconv item def id handling 2022-11-02 12:03:59 +00:00
constrained_generic_params.rs Fix compiler docs 2022-10-10 18:28:29 +02:00
errors.rs Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
hir_wf_check.rs Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki 2022-10-10 00:09:42 +09:00
impl_wf_check.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
lib.rs Rollup merge of #97971 - Soveu:varargs, r=jackh726 2022-10-30 19:31:36 -07:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00