rust/tests/ui/rust-2024/unsafe-attributes
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
..
auxiliary Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
in_2024_compatibility.rs Stabilize `unsafe_attributes` 2024-08-07 03:12:13 -05:00
in_2024_compatibility.stderr Use links to edition guide for edition migrations 2024-12-15 20:28:16 -08:00
unsafe-attribute-marked.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
unsafe-attributes-fix.fixed Auto merge of #134478 - compiler-errors:attr-span, r=oli-obk 2025-01-22 14:46:41 +00:00
unsafe-attributes-fix.rs Auto merge of #134478 - compiler-errors:attr-span, r=oli-obk 2025-01-22 14:46:41 +00:00
unsafe-attributes-fix.stderr Properly record metavar spans for other expansions other than TT 2024-12-21 20:37:27 +00:00
unsafe-attributes-from-pm.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
unsafe-attributes.edition2024.stderr Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
unsafe-attributes.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00