2af968eaa6
When projecting associate types for a trait's default methods, the trait itself was added to the predicate candidate list twice: one from parameter environment, the other from trait definition. Then the duplicates were deemed as code ambiguity and the compiler rejected the code. Simply checking and dropping the duplicates solves the issue. Closes #22036 |
||
---|---|---|
.. | ||
coherence.rs | ||
doc.rs | ||
error_reporting.rs | ||
fulfill.rs | ||
mod.rs | ||
object_safety.rs | ||
project.rs | ||
select.rs | ||
util.rs |