You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: reached the recursion limit during monomorphization (selection ambiguity)
It seems to depend on the use of specialization, constraints involving Fn, and the use of constraints on associated types. Rustc debug output gives me this at the end of the log, which suggests that it is not actually a recursion limit problem:
This code:
triggers
It seems to depend on the use of specialization, constraints involving
Fn
, and the use of constraints on associated types. Rustc debug output gives me this at the end of the log, which suggests that it is not actually a recursion limit problem:The two
impl
s it is finding and being unable to pick between are the twoimpl
s ofSpecial
in the source, even though one specializes the other.The text was updated successfully, but these errors were encountered: