impl Trait lifetimes regression 1.67 #108591
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
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.
Some regressions of #103491 that I previously reported in #105826 (comment), but they were missed:
I guess the way to fix this is to ignore non-captured lifetimes of opaque types here
rust/compiler/rustc_infer/src/infer/outlives/obligations.rs
Line 417 in ca1bc7f
cc @cjgillot
@rustbot label C-bug regression-from-stable-to-stable T-types T-compiler A-impl-trait
The text was updated successfully, but these errors were encountered: