Trait bounds on Self with generic parameter precludes other uses of that trait on Self #90841
Labels
C-bug
Category: This is a bug.
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.
I tried this code:
Try it on the Rust Playground
I expected to see this happen: All functions should compile with no error.
Instead, this happened: The following error was produced by
rustc
:Meta
rustc --version --verbose
:This bug also occurs on the nightly and stable versions on the playground.
Coming up with a title for this issue was really tricky; if anyone can come up with a better one, please replace it.
The text was updated successfully, but these errors were encountered: