incomplete normalization in implied bounds #109799
Labels
A-implied-bounds
Area: Implied bounds / inferred outlives-bounds
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
The following fails to compile:
while changing the
Iter
impl to use a paramter typeX
instead of the lifetime'x
makes it compile:This is because we are ignoring projection predicates that constrain region variables while using those that constrain type variables:
rust/compiler/rustc_traits/src/implied_outlives_bounds.rs
Lines 86 to 94 in 8a7ca93
Should be fixed by #109482.
The text was updated successfully, but these errors were encountered: