rust/compiler/rustc_ast_pretty
Matthias Krüger df921190f3
Rollup merge of #92418 - dtolnay:emptystructpat, r=michaelwoerister
Fix spacing in pretty printed PatKind::Struct with no fields

Follow-up to #92238 fixing one of the FIXMEs.

```rust
macro_rules! repro {
    ($pat:pat) => {
        stringify!($pat)
    };
}

fn main() {
    println!("{}", repro!(Struct {}));
}
```

Before:&ensp;<code>Struct&nbsp;{&nbsp;&nbsp;}</code>
After:&ensp;<code>Struct&nbsp;{}</code>
2022-01-03 14:44:20 +01:00
..
src Rollup merge of #92418 - dtolnay:emptystructpat, r=michaelwoerister 2022-01-03 14:44:20 +01:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00