Precise captures in ITIAT are not refining #135144
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-lifetimes
Area: Lifetimes / regions
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
F-impl_trait_in_assoc_type
`#![feature(impl_trait_in_assoc_type)]`
requires-nightly
This issue requires a nightly compiler in some way.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: successful compilation
Instead, this happened:
Why the expectation
The analogous refinement works with RPITIT and RTN.
Meta
Playground 1.86.0-nightly (2025-01-04 1891c28)
@rustbot label +F-impl_trait_in_assoc_type +A-traits +T-types +requires-nightly
The text was updated successfully, but these errors were encountered: