Files
Jacob Pratt e3676b5ab9 Rollup merge of #155428 - lapla-cogito:issue_139089, r=mejrs
Fix ICE in borrowck mutability suggestion with multi-byte ref sigil

Fixes rust-lang/rust#139089

Similarly to rust-lang/rust#155068, this is another instance where span arithmetic did not account for multi-byte characters. (Note that the ampersand in the test is full-width)

This change also results in correcting some inappropriate suggestions.
2026-04-18 00:05:19 -04:00
..
2025-12-25 12:27:17 +00:00
2024-04-19 23:09:37 +02:00
2024-04-19 23:09:37 +02:00
2025-01-25 23:40:35 +01:00
2024-04-18 18:55:20 +02:00
2025-06-11 15:30:15 +01:00
2025-12-25 12:27:17 +00:00
2024-12-08 14:17:25 +01:00
2024-12-08 14:17:25 +01:00
2025-12-25 12:27:17 +00:00
2025-09-26 15:37:19 -07:00
2024-04-18 18:55:20 +02:00
2024-05-29 17:06:54 +01:00
2024-04-18 18:55:20 +02:00
2024-04-18 06:13:47 +02:00
2024-04-18 06:13:47 +02:00
2024-12-08 14:17:25 +01:00
2024-04-21 21:04:32 +02:00
2024-04-26 17:20:16 +02:00
2024-11-22 11:12:15 -08:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2025-09-29 11:04:50 +10:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-11-02 23:44:12 +01:00
2024-06-29 09:33:28 +02:00
2024-06-29 09:33:28 +02:00
2024-08-30 12:38:22 +02:00
2024-09-15 21:18:41 +02:00
2024-12-08 14:17:25 +01:00
2024-09-18 00:10:25 +02:00
2024-09-29 11:58:09 +02:00
2024-12-15 17:27:52 +01:00
2024-10-09 15:34:45 +02:00
2024-10-12 11:29:38 +02:00
2024-10-20 10:05:39 +02:00
2024-11-02 23:44:12 +01:00
2024-12-12 22:55:31 +01:00
2025-01-04 14:38:06 +01:00
2025-01-04 14:38:06 +01:00
2025-01-04 14:38:06 +01:00
2025-01-12 10:11:29 +01:00
2025-02-09 10:40:18 +01:00
2025-02-09 10:40:18 +01:00
2025-02-09 10:40:18 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-03-08 20:13:07 +01:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-12-25 12:27:17 +00:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-01 17:04:37 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2025-05-18 17:25:34 +02:00
2026-03-09 18:51:25 -04:00
2026-03-09 18:51:25 -04:00
2025-12-17 21:25:19 +02:00

Documentation on crash tests is at https://rustc-dev-guide.rust-lang.org/tests/compiletest#crash-tests.

Alternatively, you can build the documentation from this repository:

mdbook serve --open src/doc/rustc-dev-guide

The documentation will then be available at http://localhost:3000/tests/compiletest.html#crash-tests.