Files
rust/tests/ui
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-05-21 07:24:43 +00:00
2025-06-11 17:49:03 +05:00
2025-06-06 20:52:34 +00:00
2025-06-11 20:51:49 +05:00
2025-06-04 17:48:50 +05:00
2025-06-04 17:48:50 +05:00
2025-05-12 16:35:09 +02:00
2025-06-06 19:53:12 +00: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-06 20:52:34 +00:00
2025-06-02 11:00:46 +02:00
2025-06-13 01:16:36 +02:00
2025-06-11 20:51:49 +05:00
2025-05-31 19:49:19 +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-03-11 20:26:10 -07:00
2025-05-09 12:09:15 +02:00
2025-06-13 01:16:36 +02:00
2025-06-03 11:45:58 +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-03 07:38:06 +05:00
2025-06-05 20:03:29 +05: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-01-29 15:45:13 +00:00
2025-03-27 14:11:11 +01:00
2025-04-25 20:50:57 +09:00
2025-05-05 21:09:31 +02: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
2025-04-03 21:41:58 +00:00
2025-02-04 21:42:43 +05:30
2025-04-03 21:41:58 +00:00
2025-05-07 21:51:41 +05:00
2025-04-04 16:32:18 +02:00