León Orell Valerian Liehr 07048643dd
Rollup merge of #142543 - Urgau:span-borrowck-semicolon, r=fmease
Suggest adding semicolon in user code rather than macro impl details

This PR tries to find the right span (by peeling expansion) so that the suggestion for adding a semicolon is suggested in user code rather than in the expanded code (in the example a macro impl).

Fixes rust-lang/rust#139049
r? `@fmease`
2025-06-15 23:51:58 +02:00
..
2025-06-11 17:49:03 +05:00
2025-06-11 20:51:49 +05:00
2025-06-08 01:14:05 +05:00
2025-06-11 17:49:03 +05:00
2025-06-08 01:14:05 +05:00
2025-06-13 01:16:36 +02:00
2025-06-11 20:51:49 +05:00
2025-06-11 17:49:03 +05:00
2025-06-08 01:14:05 +05:00
2025-06-11 20:51:49 +05:00
2025-06-13 01:16:36 +02:00
2025-06-08 01:14:05 +05:00
2025-06-11 20:51:49 +05:00
2025-06-13 01:16:36 +02:00
2025-06-08 11:25:09 +05:00
2025-06-13 01:16:36 +02:00
2025-06-13 01:16:36 +02:00
2025-06-13 09:20:48 +02:00
2025-06-13 01:16:36 +02:00
2025-06-08 11:25:09 +05:00
2025-06-08 03:44:44 +05:00
2025-06-13 01:16:36 +02:00
2025-06-13 01:16:36 +02:00