We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
macro
The current syntax looks like this.
pub macro run_passes($tcx:ident, $mir:ident, $def_id:ident, $suite_index:expr; $($pass:expr,)*) {{ /* same as usual */ }}
The text was updated successfully, but these errors were encountered:
I implemented the bare minimum to pass tests in 500d832, will need to revisit what these look like in the AST.
Sorry, something went wrong.
I think that your implementation is fine for now. We can come back to it & clean up the AST once the AST used by rustc stabilizes some more.
I kept the AST but restricted the grammar in e082403 -- the arguments must be parenthesized and the body must be braced.
No branches or pull requests
The current syntax looks like this.
The text was updated successfully, but these errors were encountered: