Unexpected "impl has stricter requirements" with identical bounds #137639
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code (playground):
I expected to see this happen: the code compiles successfully.
Instead, this happened:
This error reproduces on stable-1.85, corresponding beta branch, and the nightly-2025-02-24 compiler.
The text was updated successfully, but these errors were encountered: