-
Notifications
You must be signed in to change notification settings - Fork 8
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
Can't use downcast in libraries #9
Comments
This is bizarre and I'm 99% sure that this is an error in the compiler's treatment of inherent impls on trait objects. I can reproduce with similarly short examples in rust-error. |
Ugh, I was right: rust-lang/rust#19056 |
@reem, thanks. I'll wait until it will be fixed. I think we can close this issue. |
I'll keep it open, since it makes the library basically unusable :/ I will look into an alternative fix if this isn't fixed upstream soon. |
It has been fixed already. |
Hello @reem. I have a strange problem with
rust-error
. To demonstrate it I clone the last Iron version and modify source in-place:And when I compile it, I get:
I have the same error in
rustless
and I don't know how to deal with it. Can you help?The text was updated successfully, but these errors were encountered: