-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
End of macro invocation before expected produces EOF #27569
Comments
This is because of the macro. For There should probably be something to catch "EOF" errors in macro/syntax extension expansion and turn them into something more accurate. |
Current output:
|
…enkov Tweak macro parse errors when reaching EOF during macro call parse Add detail on origin of current parser when reaching EOF, stop saying "found `<eof>`" and point at the end of macro calls. Fix rust-lang#27569.
This gives the following compile error:
I think this is slightly misleading: it's not an EOF at the position where the caret is.
The text was updated successfully, but these errors were encountered: