Adding where clause already filled relax traits bounds in impl #141721
Labels
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
Uh oh!
There was an error while loading. Please reload this page.
I tried this code:
I expected it to compile, but instead I get the error
The error disappears when I remove the where clause in Bar implementation.
I expected both code to compile since the where clause should only add trait bounds, and
A<T>::B
isu32
in both cases.rustc --version --verbose
:The text was updated successfully, but these errors were encountered: