about summary refs log tree commit diff
path: root/compiler/rustc_driver/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-03-29 14:07:30 +0530
committerGitHub <noreply@github.com>2023-03-29 14:07:30 +0530
commit2a4455d141e651c0ff627998ea484a095ee8b493 (patch)
treea13e58c0aa7e08acc2776ff8803cde29cc16f572 /compiler/rustc_driver/src
parent09e937744ad6e87e751fe874bd33e18e3f73c3f6 (diff)
parentc5da0619d102493ce39bc36554e14191e964c1b4 (diff)
downloadrust-2a4455d141e651c0ff627998ea484a095ee8b493.tar.gz
rust-2a4455d141e651c0ff627998ea484a095ee8b493.zip
Rollup merge of #109713 - dtolnay:debugattrid, r=compiler-errors
Fix mismatched punctuation in Debug impl of AttrId

I noticed this odd line in `ast-tree` output.

```console
$ echo '#[attr] struct S;' | rustc -Zunpretty=ast-tree -
```

```rust
...
            attrs: [
                Attribute {
                    kind: Normal(
                        NormalAttr {
                            item: AttrItem {
                                path: Path {
                                    segments: [
                                        PathSegment {
                                            ident: attr#0,
                                            args: None,
                                        },
                                    ],
                                    tokens: None,
                                },
                                args: Empty,
                            },
                        },
                    ),
                    id: AttrId(0)],      // <------
                    style: Outer,
                },
```
Diffstat (limited to 'compiler/rustc_driver/src')
0 files changed, 0 insertions, 0 deletions