-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
External macro invocation errors print internals but not invocation site #19243
Comments
The last line of the message has the location of the offending statement. |
Triage: no change. This does point at where the error is, but it's still a worse error than we could give. |
Duplicate of #25633. Duping into a newer issue, because the other issue has more descriptive title and shows the underlying issue of compiler being unable to figure out the generic parameters for calls. |
Not that sure of it - the error coming out of a |
On rust 1.13, this now shows the following:
This now points at the right span, and any improvement of the error message would probably be part a of #25633. So this issue can probably be closed. |
Allow unsetting default cfgs
The code
gives an error message which does not even hint about the error's location:
Which makes finding the offending statement require quite a bit of effort.
The text was updated successfully, but these errors were encountered: