-
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
E0045 needs to be updated to new format #35501
Comments
I'd like to discus bonus part fix, I've find out than function (FnDecl) with ellipsis doesn't contain span information about ellipsis.
May be you could provide better solution or help me choose one. |
After playing with it, I think you're right. This seems like it would take updating how FnDecl handles variadic fns in a more robust way. This doesn't seem worth it, since this isn't really a fully supported feature (I think it's only for C interop?) Fun to poke around and see what was available, though. |
Yeah, let's mark this bonus as "not worth it, for now". We might come back to it later if more span information gets put in. |
…athandturner Updated E0045 to new error format (no bonus) Part of rust-lang#35501 r? @jonathandturner
…athandturner Updated E0045 to new error format (no bonus) Part of rust-lang#35501 r? @jonathandturner
…athandturner Updated E0045 to new error format (no bonus) Part of rust-lang#35501 r? @jonathandturner
From: src/test/compile-fail/E0045.rs
Error E0045 needs a span_label, updating it from:
To:
Bonus: Underline only the variadic part of the call.
The text was updated successfully, but these errors were encountered: