Esteban Küber
1bd7934d89
Point at span within local macros even when error happens in nested external macro
...
```
error[E0308]: mismatched types
--> $DIR/macro-span-caller-replacement.rs:5:17
|
LL | s = format!("{arg}");
| ^^^^^^^^^^^^^^^^ expected `&str`, found `String`
...
LL | macro_with_format!();
| -------------------- in this macro invocation
|
= note: this error originates in the macro `format` which comes from the expansion of the macro `macro_with_format` (in Nightly builds, run with -Z macro-backtrace for more info)
```
2025-12-10 19:27:40 +00:00
..
2025-11-27 11:19:00 -05:00
2023-04-03 09:24:11 +02:00
2025-12-02 18:25:13 +00:00
2023-04-03 09:24:11 +02:00
2023-04-03 09:24:11 +02: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
2023-11-24 19:15:52 +01: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
2025-12-10 19:27:40 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01: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
2023-11-24 19:15:52 +01:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-04-03 09:24:11 +02:00
2023-04-03 09:24:11 +02:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2025-12-02 18:25:13 +00:00
2024-02-16 20:02:50 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05: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
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2023-04-03 09:24:11 +02:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01: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
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2024-02-16 20:02:50 +00:00
2025-09-26 15:33:48 +02:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-11-27 11:19:00 -05: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
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2024-12-27 19:58:16 +11:00
2025-09-25 20:52:03 +02:00
2025-12-04 14:58:46 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-03-31 15:41:48 +03:00
2025-12-09 17:29:23 +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-16 20:02:50 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-27 19:58:16 +11:00
2025-03-31 15:41:48 +03:00
2024-02-16 20:02:50 +00:00
2025-11-27 11:19:00 -05:00