rust/tests/ui/expr
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
..
compound-assignment [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if Auto merge of #134478 - compiler-errors:attr-span, r=oli-obk 2025-01-22 14:46:41 +00:00
malformed_closure Use parenthetical notation for Fn traits 2024-05-29 22:26:54 +00:00
block-fn.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
block-generic.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
block.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
copy.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
if-bot.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if-generic.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
if-panic-all.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
issue-22933-1.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-22933-2.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-22933-2.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
scope.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00