Stuart Cook
06b18db01b
Rollup merge of #148735 - chenyukang:yukang-fix-ice-148732, r=nnethercote
...
Fix ICE caused by invalid spans for shrink_file
Fixes rust-lang/rust#148732
There are two issues in this function:
1. the original issue is caused by a typo error, which is fixed in the first commit
2. another different ice(Patch span `7..7` is beyond the end of buffer `0`) will be reported after fixing the first one, is caused by spans cross file boundaries due to macro expansion. It is fixed in the second commit.
r? `@nnethercote`
edited: also fixes rust-lang/rust#148684 , added a new testcase for it in the last commit.
2025-11-13 11:57:07 +11:00
..
2024-04-23 23:05:39 +03:00
2025-08-22 17:55:15 +00:00
2025-01-24 01:19:50 +00:00
2025-04-27 18:14:55 +02:00
2024-06-14 19:27:51 +03:00
2024-05-15 02:32:59 +03:00
2024-08-16 20:53:13 +01:00
2025-10-31 20:44:01 +00:00
2024-03-27 15:51:48 +03:00
2024-03-27 15:51:48 +03:00
2024-06-14 19:27:51 +03:00
2024-06-14 19:27:51 +03:00
2024-05-15 02:32:59 +03:00
2024-05-15 02:32:59 +03:00
2024-03-27 15:51:48 +03:00
2024-07-16 18:03:15 +03:00
2025-04-03 21:41:58 +00:00
2024-07-29 20:04:55 +03:00
2025-10-31 20:44:01 +00:00
2025-09-26 15:33:48 +02:00
2025-09-26 15:33:48 +02:00
2025-07-23 13:48:04 +02:00
2025-03-13 14:13:07 +03:00
2025-03-13 14:13:07 +03:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2024-06-14 19:27:51 +03:00
2024-06-14 19:27:51 +03:00
2024-06-14 19:27:51 +03:00
2024-06-14 19:27:51 +03:00
2025-04-27 18:14:55 +02:00
2025-01-07 16:04:14 +01:00
2024-06-14 19:27:51 +03:00
2024-06-14 19:27:51 +03:00
2024-06-22 19:57:19 +03:00
2024-06-22 19:57:19 +03:00
2024-06-14 19:27:51 +03:00
2025-03-10 17:08:29 +03:00
2025-03-10 17:08:29 +03:00
2024-03-22 17:24:41 +03:00
2025-08-22 17:55:15 +00:00
2024-06-10 19:25:34 +03:00
2024-06-10 19:25:34 +03:00
2025-04-06 21:41:47 +02:00
2025-04-06 21:41:47 +02:00
2025-03-12 15:59:37 +03:00
2025-03-12 15:59:37 +03:00
2025-11-09 16:32:22 +08:00
2025-11-12 17:47:15 +08:00
2024-04-23 23:05:39 +03:00
2024-05-15 02:32:59 +03:00
2024-08-04 00:11:16 +08:00
2024-05-15 02:32:59 +03:00
2024-06-14 19:27:51 +03:00
2024-06-15 00:45:05 +03:00
2024-07-16 18:03:15 +03:00
2024-07-16 18:03:15 +03:00
2024-07-16 18:03:15 +03:00
2024-03-27 15:51:48 +03:00
2024-05-15 02:32:59 +03:00
2024-07-16 18:03:15 +03:00
2024-06-15 00:45:05 +03:00
2024-06-15 00:45:05 +03:00
2024-03-27 15:51:48 +03:00
2025-08-19 21:27:10 +02:00
2024-07-29 20:04:55 +03:00
2025-11-03 16:24:36 +00:00
2025-11-08 07:37:15 +01:00
2025-11-08 07:37:15 +01:00
2025-11-08 07:37:15 +01:00