false positive "unconstrained opaque type" error on impl trait in trait associated type #140222
Labels
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.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
playground
This code can compile successfully with toolchain
nightly-2023-2023-12-28
but fails with recent nightly toolchain.I expected to see this happen: explanation
The code should compile with no errror.
Instead, this happened: explanation
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: