Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upassociated type not normalized when a where-clause is present #28895
Comments
arielb1
added
the
A-traits
label
Oct 7, 2015
This comment has been minimized.
This comment has been minimized.
|
The root cause is that selection picks the where-clause candidate over any impl candidate, and this does not allow projection to make progress. This looks to be hard to fix. |
This comment has been minimized.
This comment has been minimized.
|
Yes, this is to some extent a known limitation and the "expected result", but I would still classify it as a bug. |
brson
added
T-lang
I-wrong
A-associated-items
P-low
labels
Mar 23, 2017
Mark-Simulacrum
added
C-bug
and removed
I-wrong
labels
Jul 24, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
arielb1 commentedOct 7, 2015
Affected Versions
At least 1.3, 1.4,
rustc 1.5.0-nightly (11a612795 2015-10-04)STR
Expected Result
the code should compile
Actual Result
cc @nikomatsakis