]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #107515 - Swatinem:hirvalidator, r=compiler-errors
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 2 Feb 2023 16:14:06 +0000 (17:14 +0100)
committerGitHub <noreply@github.com>
Thu, 2 Feb 2023 16:14:06 +0000 (17:14 +0100)
commit230c9e91fdeffa7acee1bca0f30a4855835a86e2
tree63ebac00b3d8c0550c4f74c1182218d3390bb905
parente9c4e291c400314d331b977c80dcf456cd6f7977
parent3a75f10af12e959273d19cf0f867f066e3db8add
Rollup merge of #107515 - Swatinem:hirvalidator, r=compiler-errors

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` also includes that.