-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Wrong error message for missed type inference #71584
Comments
This is similar to my #71538, although your example is much simpler. |
I've seen the same(ish) bug on stable
The errors are
(copy-pasted from an emacs compilation buffer) It amuses me that |
Fix E0284 to not use incorrect wording Fix rust-lang#71584, fix rust-lang#69683.
Code that asks for some type inference:
It gives:
The error message "consider giving
d
a type" refers to a "d" that is actually typed as u64.Using rustc 1.44.0-nightly (3360cc3 2020-04-24).
The text was updated successfully, but these errors were encountered: