-
Notifications
You must be signed in to change notification settings - Fork 14k
Synthesize a TokenStream for StmtKind::Empty
#80789
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
Conversation
|
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
|
r? @petrochenkov probably |
This comment has been minimized.
This comment has been minimized.
580835e to
2484edd
Compare
|
At least #[attr]
;is not supported yet. |
Oh well. macro_rules! m {
($stmt:stmt) => { #[allow(bad_style)] $stmt }
}
fn main() {
m!(;);
} |
|
I can't complain about the end result, but the process here was funny. |
2484edd to
f864df6
Compare
|
@petrochenkov: The current behavior w.r.t to attributes is very odd - any attributes added via |
f864df6 to
f53f648
Compare
|
r=me after moving the common part |
f53f648 to
3ed6caa
Compare
|
@bors r=petrochenkov |
|
📌 Commit 3ed6caa has been approved by |
|
☀️ Test successful - checks-actions |
Fixes #80760