mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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 |
||
---|---|---|
.. | ||
astconv | ||
check | ||
coherence | ||
collect | ||
impl_wf_check | ||
outlives | ||
structured_errors | ||
variance | ||
bounds.rs | ||
check_unused.rs | ||
collect.rs | ||
constrained_generic_params.rs | ||
errors.rs | ||
expr_use_visitor.rs | ||
hir_wf_check.rs | ||
impl_wf_check.rs | ||
lib.rs | ||
mem_categorization.rs | ||
structured_errors.rs |