1
Fork 0
rust/compiler/rustc_middle/src/hir
bors dee7d0e730 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`
2025-01-22 14:46:41 +00:00
..
map Auto merge of #134478 - compiler-errors:attr-span, r=oli-obk 2025-01-22 14:46:41 +00:00
mod.rs Eagerly collect mono items for non-generic closures 2025-01-10 01:27:13 +00:00
nested_filter.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
place.rs compiler: Directly use rustc_abi in metadata and middle 2024-11-03 13:38:47 -08:00