diff options
| author | Thomas Bahn <thomas@thomas-bahn.net> | 2020-12-19 23:13:50 +0100 |
|---|---|---|
| committer | Thomas Bahn <thomas@thomas-bahn.net> | 2020-12-20 13:11:07 +0100 |
| commit | b05ab18aec28c5025212ad44a202072ed2f610d7 (patch) | |
| tree | 4c24cf8947c9ed79b37dde8d54b7d55215ad6cb8 /src/librustdoc/html/static/source-script.js | |
| parent | b1964e60b72c2d10e9fd4e801990f8af3f306ac0 (diff) | |
| download | rust-b05ab18aec28c5025212ad44a202072ed2f610d7.tar.gz rust-b05ab18aec28c5025212ad44a202072ed2f610d7.zip | |
Fix pretty printing an AST representing `&(mut ident)`
`PatKind::Ref(PatKind::Ident(BindingMode::ByValue(Mutability::Mut), ..), ..)` is an AST representing `&(mut ident)`. It was errorneously printed as `&mut ident` which reparsed into a syntactically different AST. This affected help diagnostics in the parser.
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions
