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 }})

dtolnay

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 rustbot added the T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

label

Dec 28, 2021

@rust-highfive

r? @oli-obk

(rust-highfive has picked a reviewer for you, use r? to override)

@dtolnay

@oli-obk

@bors

📌 Commit cbccc4a has been approved by oli-obk

@bors 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

Dec 28, 2021

bors added a commit to rust-lang-ci/rust that referenced this pull request

Dec 29, 2021

@bors

…askrgr

Rollup of 7 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

@dtolnay dtolnay added the A-pretty

Area: Pretty printing (including `-Z unpretty`)

label

Dec 28, 2023

@dtolnay dtolnay removed the S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

label

Jan 14, 2025

Labels

A-pretty

Area: Pretty printing (including `-Z unpretty`)

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.