Remove pretty printer space inside block with only outer attrs by dtolnay · Pull Request #92371 · rust-lang/rust (original) (raw)
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 andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation3 Commits1 Checks0 Files changed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Follow-up to #92238 fixing one of the FIXMEs.
macro_rules! repro { ($expr:expr) => { stringify!($expr) }; }
fn main() { println!("{}", repro!(#[attr] {})); }
Before: #[attr] { }
After: #[attr] {}
rustbot added the T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
label
r? @oli-obk
(rust-highfive has picked a reviewer for you, use r? to override)
📌 Commit cbccc4a has been approved by oli-obk
bors added S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
bors added a commit to rust-lang-ci/rust that referenced this pull request
…askrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#92075 (rustdoc: Only special case struct fields for intra-doc links, not enum variants)
- rust-lang#92118 (Parse and suggest moving where clauses after equals for type aliases)
- rust-lang#92237 (Visit expressions in-order when resolving pattern bindings)
- rust-lang#92340 (rustdoc: Start cleaning up search index generation)
- rust-lang#92351 (Add long error explanation for E0227)
- rust-lang#92371 (Remove pretty printer space inside block with only outer attrs)
- rust-lang#92372 (Print space after formal generic params in fn type)
Failed merges:
r? @ghost
@rustbot
modify labels: rollup
Area: Pretty printing (including `-Z unpretty`)
label
dtolnay removed the S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
label
Labels
Area: Pretty printing (including `-Z unpretty`)
Relevant to the compiler team, which will review and decide on the PR/issue.