We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
#![feature(macro_rules)] macro_rules! foo { () => { $e }} fn main() { foo!() }
unknown-macro-variable.rs:3:29: 3:30 error: unexpected token: `$` unknown-macro-variable.rs:3 macro_rules! foo { () => { $e }} ^
This is very confusing and does not provide much help to work out what is wrong. (Looks like this was introduced by 38ce6d9.)
The text was updated successfully, but these errors were encountered:
Cleanup and followup to PR rust-lang#17830: parsing changes
d85c017
Prevents breaking down `$name` tokens into separate `$` and `name`. Reports unknown macro variables. Fixes rust-lang#18775 Fixes rust-lang#18839 Fixes rust-lang#15640
52df822
Successfully merging a pull request may close this issue.
This is very confusing and does not provide much help to work out what is wrong. (Looks like this was introduced by 38ce6d9.)
The text was updated successfully, but these errors were encountered: