summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorArpad Borsos <swatinem@swatinem.de>2023-01-31 12:09:54 +0100
committerArpad Borsos <swatinem@swatinem.de>2023-02-01 20:09:22 +0100
commit3a75f10af12e959273d19cf0f867f066e3db8add (patch)
tree5646134adee1549436ab2f6d570e70e80ade2daf /tests/rustdoc-js-std/parser-errors.js
parent3b639486c17e9144a9176382ecb2a0b801263935 (diff)
downloadrust-3a75f10af12e959273d19cf0f867f066e3db8add.tar.gz
Improve pretty-printing of `HirIdValidator` errors
This now uses `node_to_string` for both missing and seen Ids, which includes the snippet of code for which the Id was allocated. Also removes the duplicated printing of `HirId`, as `node_to_string` includes that already. Similarly, changes all other users of `node_to_string` that do so, and changes the output of `node_to_string`, which is now "$hirid ($what `$span` in $path)".
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions