9 ms·
> Any was more powerful https://github.com/rust-lang/rfcs/pull/1849 https://github.com/rust-lang/rfcs/pull/1849 is relevant to your interests; however, as the
by steveklabnik 10y ago
> Any was more powerful
https://github.com/rust-lang/rfcs/pull/1849 https://github.com/rust-lang/rfcs/pull/1849 is relevant to your interests; however, as the comments say there, associated type constructors would be needed before it could possibly be used with Any.
- robohamburger 10y agoYeah it seems like you would need some kind of guard to make sure you don't violate any of the lifetimes that could be tucked away. Still good work! I guess compiler plugins and libraries will eventually fill in the gaps, until then I guess I just have to be creative :)