-
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
Amusing and wrong error message #51874
Comments
The literal's span should point inside the parenthesis. Probably needs a change to |
I'm interested in working on this. |
@euclio feel free to reach out for any help you might need! I believe that you should verify if changing the span being used in the AST for literals changes the suggestion output. If it doesn't, it means that the problem is not at the parser level, but when lowering to HIR. If that is the case, we need to dig deeper, but I'll be here to help you with that. |
…estebank use literal span for concrete type suggestion Fixes rust-lang#51874. r? @estebank
…estebank use literal span for concrete type suggestion Fixes rust-lang#51874. r? @estebank
…estebank use literal span for concrete type suggestion Fixes rust-lang#51874. r? @estebank
…estebank use literal span for concrete type suggestion Fixes rust-lang#51874. r? @estebank
Please note the
(1.0)_f32
The text was updated successfully, but these errors were encountered: