rustc
fails to see a bound that is present, but also requires that the bound not be present
#41118
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-lazy-normalization
Area: Lazy normalization (tracking issue: #60471)
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-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
In certain cases,
rustc
will emit an error message on what appears to be valid code, claiming thatHere is a MWE (or playground):
This produces the pair of errors:
The text was updated successfully, but these errors were encountered: