about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorLukas Wirth <me@lukaswirth.dev>2025-07-03 13:32:46 +0200
committerLukas Wirth <me@lukaswirth.dev>2025-07-03 14:12:27 +0200
commit2899630009923f5f4da917cd12a883787956d33e (patch)
tree8143ec67af2c96c490229c9fe316e401792ff514 /tests/codegen/src-hash-algorithm
parentf98e4d05a1b9bb5cc15a70bbc024a7017d27b9af (diff)
downloadrust-2899630009923f5f4da917cd12a883787956d33e.tar.gz
rust-2899630009923f5f4da917cd12a883787956d33e.zip
fix: Improve diagnostic ranges for `macro_calls!`
We used to point to the entire macro call including its token tree if we couldn't upmap the diagnostic to the input
This generally makes things very noisy as the entire macro call will turn red on errors.
Instead, we now macro the path and `!` (bang) token as the error source range which is a lot nicer on the eyes.
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions