Closed dylanede closed 6 years ago
@alexcrichton This might be related to the similar errors that pop up with the futures crate.
I guess this was probably related to #40003 - seems to compile fine on nightly now.
Compiles on rustc 1.25.0-nightly (27a046e93 2018-02-18) - would we need anything more to close this issue ? Thank you :)
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.