diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-03-29 14:07:30 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 14:07:30 +0530 |
commit | 2a4455d141e651c0ff627998ea484a095ee8b493 (patch) | |
tree | a13e58c0aa7e08acc2776ff8803cde29cc16f572 /tests/rustdoc-js-std/parser-errors.js | |
parent | 09e937744ad6e87e751fe874bd33e18e3f73c3f6 (diff) | |
parent | c5da0619d102493ce39bc36554e14191e964c1b4 (diff) | |
download | rust-2a4455d141e651c0ff627998ea484a095ee8b493.tar.gz |
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 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions