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
..
2024-11-22 11:12:15 -08:00
2024-02-16 20:02:50 +00:00
2024-02-08 17:51:32 +00:00
2024-11-22 11:12:15 -08:00
2024-11-28 14:32:45 -08:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-17 13:59:45 +01:00
2024-02-17 13:59:45 +01:00
2024-02-16 20:02:50 +00:00
2024-04-24 08:05:29 +00:00
2024-11-22 11:12:15 -08:00
2024-10-24 04:33:14 +08:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-09-13 14:10:56 +03:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-15 20:28:16 -08:00
2024-11-28 14:32:45 -08:00
2024-10-24 04:33:14 +08:00
2024-12-21 20:37:27 +00:00
2024-12-02 18:30:29 +08:00
2024-12-02 18:30:29 +08:00
2024-12-15 20:28:16 -08:00
2025-01-08 16:02:44 +00:00
2025-01-08 16:02:44 +00:00
2024-11-22 11:12:15 -08:00
2025-01-08 15:58:10 +00:00
2025-01-08 15:58:10 +00:00
2024-02-21 10:35:54 +11:00
2024-02-21 10:35:54 +11:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-03-23 12:38:50 +01:00
2024-02-16 20:02:50 +00:00
2024-02-08 17:33:04 +00:00
2024-04-10 20:36:14 +00:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-12-23 20:25:41 +00:00
2025-01-08 15:58:10 +00:00
2025-01-08 15:58:10 +00:00
2025-01-08 15:58:10 +00:00
2024-11-28 14:32:45 -08:00
2024-11-28 14:32:45 -08:00
2024-11-22 11:12:15 -08:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00