-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
suggest ;
on expr mac!()
which is good as stmt mac!()
#70434
Conversation
I'm ok with this if perf is unaffected, but I don't care to much about fixing this because the example should compile successfully in the token-based expansion model. r? @estebank |
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit cbfa75e139d9c434fd31b2e59ac118e0b9040b46 with merge d12c42b713ed6844182c19063db4f6da6dbc2dc0... |
💔 Test failed - checks-azure |
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit cbfa75e139d9c434fd31b2e59ac118e0b9040b46 with merge a04f461d8ae91c3ec42f8743523878d8e5174b23... |
💔 Test failed - checks-azure |
@bors retry |
⌛ Trying commit cbfa75e139d9c434fd31b2e59ac118e0b9040b46 with merge 73876af7e044d371e84684916fa2df78bb8d7a00... |
☀️ Try build successful - checks-azure |
Queued 73876af7e044d371e84684916fa2df78bb8d7a00 with parent 2fbb075, future comparison URL. |
Perfbot suggests this was a perf win but I suspect that's bogus. At least it's not a regression, so I'll make the other requested changes. :) |
@estebank I've addressed your comments. :) |
@bors r+ |
📌 Commit 6c643a0 has been approved by |
suggest `;` on expr `mac!()` which is good as stmt `mac!()` Fixes rust-lang#34421 by implementing @jseyfried's suggestion in rust-lang#34421 (comment). r? @petrochenkov
Rollup of 5 pull requests Successful merges: - rust-lang#70345 (Remove `no_integrated_as` mode.) - rust-lang#70434 (suggest `;` on expr `mac!()` which is good as stmt `mac!()`) - rust-lang#70457 (non-exhastive diagnostic: add note re. scrutinee type) - rust-lang#70478 (Refactor type_of for constants) - rust-lang#70480 (clarify hir_id <-> node_id method names) Failed merges: r? @ghost
Fixes #34421 by implementing @jseyfried's suggestion in #34421 (comment).
r? @petrochenkov