mirror of https://github.com/rust-lang/rust.git
![]() 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` |
||
---|---|---|
.. | ||
auxiliary | ||
in_2024_compatibility.rs | ||
in_2024_compatibility.stderr | ||
unsafe-attribute-marked.rs | ||
unsafe-attributes-fix.fixed | ||
unsafe-attributes-fix.rs | ||
unsafe-attributes-fix.stderr | ||
unsafe-attributes-from-pm.rs | ||
unsafe-attributes.edition2024.stderr | ||
unsafe-attributes.rs |