-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Allow attributes on statements #12963
Comments
Another use case is a clean way of annotating branch metadata on |
This is a change to the language grammar, and could have significant impact on the AST. This may warrant an RFC rather than an issue. |
There's a PR proposing attributes on |
I'll write an RFC for "allow attributes on more places" (covering this and #12812) at some point in the nearish future. I can't do it right now so if someone feels like doing it: the floor is open. |
@nick29581 This should be moved to rust-lang/rfcs, it needs an RFC like rust-lang/rfcs#49 did. |
This issue has been moved to the RFCs repo: rust-lang/rfcs#427 |
…rcegen, r=Veykril clippy: make generated code nice to read Feel free to close if this is too minor. (For context, I _have_ read the clippy policy in `dev/style.md`)
Don't lint `implicit_return` on proc macros This pr fixes rust-lang/rust-clippy#12872 changelog: [`implicit_return`]: Don't lint on procedural macros.
e.g.
The text was updated successfully, but these errors were encountered: