-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to substitute Arc<dyn Fn> #259
Comments
I believe this has been fixed in (unreleased) #226. |
This is great! Unfortunately, it's not completely smooth yet. With Loom's Arc, I'm getting these errors:
I.e. |
Hmm, it can be worked around using |
That said, the behavior is actually well documented, the workaround is provided, and a fix would require the unstable feature. Lines 34 to 77 in d0c1e71
|
I'm going to close this for now. |
I have the following code using
std::sync::Arc
: https://github.com/kvark/choir/blob/6cb29be018a19135d947942aad37f42b47161e7b/src/lib.rs#L58Loom's Arc doesn't appear to support this:
The text was updated successfully, but these errors were encountered: