Files
rust/tests/ui/delegation
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
..
2025-04-27 18:14:55 +02: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
2025-04-06 21:41:47 +02:00
2025-04-06 21:41:47 +02:00
2024-05-15 02:32:59 +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