Generic trait bound hides concrete type associated type #135254
Labels
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
I tried this code:
I expect this to compile, but it gives the following error:
The code also works if the trait is made non-generic.
Meta
rustc --version --verbose
:same result on stable
The text was updated successfully, but these errors were encountered: