-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Update the bison grammar for various language changes and fixes #25337
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Do we have a testing mechanism for this grammar? I seem to recall we added one recently. @brson? |
So, the changes themselves look good, but I'd love to see test cases! I see that there is a /me goes off to investigate a bit |
You can run |
@bors rollup r+ ok. well, these changes seem good. we should figure out a better testing situation though. |
📌 Commit 568d7f1 has been approved by |
* Correctly lex CRLF in string literals * Update `extern CRATE as NAME` syntax * Allow leading `::` in view paths * Allow TySums in type ascriptions and impls * Allow macros to have visibility and attributes * Update syntax for qualified path types and expressions * Allow block expressions to be called () and indexed []
* Correctly lex CRLF in string literals * Update `extern CRATE as NAME` syntax * Allow leading `::` in view paths * Allow TySums in type ascriptions and impls * Allow macros to have visibility and attributes * Update syntax for qualified path types and expressions * Allow block expressions to be called () and indexed []
extern CRATE as NAME
syntax::
in view paths