diff options
| author | Arpad Borsos <swatinem@swatinem.de> | 2023-01-31 12:09:54 +0100 |
|---|---|---|
| committer | Arpad Borsos <swatinem@swatinem.de> | 2023-02-01 20:09:22 +0100 |
| commit | 3a75f10af12e959273d19cf0f867f066e3db8add (patch) | |
| tree | 5646134adee1549436ab2f6d570e70e80ade2daf /compiler/rustc_codegen_llvm/src | |
| parent | 3b639486c17e9144a9176382ecb2a0b801263935 (diff) | |
| download | rust-3a75f10af12e959273d19cf0f867f066e3db8add.tar.gz rust-3a75f10af12e959273d19cf0f867f066e3db8add.zip | |
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 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
