-
Notifications
You must be signed in to change notification settings - Fork 57
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
code relies on type inference rules which are likely to change #55
Comments
@Hossein-Noroozpour, can you share a snippet of your code that's triggering this warning? Is it possible that you have some code that looks like this, with no annotated return type? msg_send![obj, retain]; If so, I believe it should be fixed by adding a type annotation, like: let _: () = msg_send![obj, retain]; Let me know if the |
Thanks, yes, this |
Great, glad that fixed your problem! Hmm, yeah, that's really interesting that the runtime just entirely skips simd arguments in encodings... definitely not what I would expect. I'll keep that in mind as I work on |
probably msg_send macro is using type inference rules which will be removed in the next coming rustc.
my current rustc version is rustc 1.19.0-nightly (d015610db 2017-06-05)
complete warning is:
resolve_trait_on_defaulted_unit
rust-lang/rust#39216The text was updated successfully, but these errors were encountered: