Ambiguity in assemble_candidates_after_normalizing_self_ty
causes coherence error
#52
Labels
assemble_candidates_after_normalizing_self_ty
causes coherence error
#52
This coherence failure...
... is because the goal
<&'a () as IntoIterator>::Item: DerefAndDrive
is considered ambiguous when unifying the two impls above. That's because we try normalizing the self type of the goal, and&'a (): IntoIterator
is treated as unknowable.I think this is problematic, because even if we were to add an upstream implementation to be able to normalize
<&'a () as IntoIterator>::Item
, it couldn't implementDerefAndDrive
since that's a trait local to the crate.The text was updated successfully, but these errors were encountered: