Synthesize a TokenStream for StmtKind::Empty#80789
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