about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-22 14:46:41 +0000
committerbors <bors@rust-lang.org>2025-01-22 14:46:41 +0000
commitdee7d0e730a3a3ed98c89dd33c4ac16edc82de8a (patch)
tree3d6e80304bba9a0899e5ecb00f8a378c72514c68 /compiler/rustc_error_codes/src
parentb2728d5426bab1d8c39709768c7e22b7f66dde5d (diff)
parent2de21ad7d4a14894463816ac5dedc337ae3a2941 (diff)
downloadrust-dee7d0e730a3a3ed98c89dd33c4ac16edc82de8a.tar.gz
rust-dee7d0e730a3a3ed98c89dd33c4ac16edc82de8a.zip
Auto merge of #134478 - compiler-errors:attr-span, r=oli-obk
Properly record metavar spans for other expansions other than TT

This properly records metavar spans for nonterminals other than tokentree. This means that we operations like `span.to(other_span)` work correctly for macros. As you can see, other diagnostics involving metavars have improved as a result.

Fixes #132908
Alternative to #133270

cc `@ehuss`
cc `@petrochenkov`
Diffstat (limited to 'compiler/rustc_error_codes/src')
0 files changed, 0 insertions, 0 deletions