blockers from lang perspective? #485
Replies: 2 comments 2 replies
-
Hi Niko! I'm glad to see your interest. And yes, the language presented several challenges while writing this crate. You're right that lifetimes are the biggest limitations. Mockall can't use non- Additionally,
|
Beta Was this translation helpful? Give feedback.
-
@nikomatsakis do any of those sound like changes that might be possible for the compiler some day? |
Beta Was this translation helpful? Give feedback.
-
Hi @asomers ! I'm not sure how best to reach you, so I figured I'd open an issue. I'm curious to talk over what are some of the technical blockers you've encountered in authoring mockall, and what it would take to overcome them. For example, I'd like to make sure mockall can support async fns in traits once they're stabilized, and I'd also like to lift the limitations about lifetime vs generic parameters.
Beta Was this translation helpful? Give feedback.
All reactions