Files
Stuart Cook a544b5df98 Rollup merge of #151530 - reddevilmidzy:e0106, r=fee1-dead
Fix invalid `mut T` suggestion for `&mut T` in missing lifetime error

close: rust-lang/rust#150077

When suggesting to return an owned value instead of a borrowed one, the diagnostic was only removing `&` instead of `&mut `, resulting in invalid syntax like `mut T`. This PR fixes the span calculation to properly cover the entire `&mut ` prefix.
2026-02-18 17:29:45 +11:00
..
2026-01-22 19:50:00 +01:00
2025-08-22 12:58:37 +08:00
2025-07-25 20:38:54 +05:00
2025-07-25 20:38:54 +05:00
2025-07-25 20:38:54 +05:00
2025-07-25 20:38:54 +05:00
2025-07-25 20:38:54 +05:00
2025-07-25 20:38:54 +05:00
2025-08-05 19:34:46 +05:00
2026-01-22 19:50:00 +01:00
2024-02-13 18:08:25 -03:00
2024-02-13 18:08:25 -03:00
2026-02-17 16:51:44 +00:00
2024-08-17 12:43:25 -04:00
2024-08-17 12:43:25 -04:00
2025-09-15 10:48:26 -07:00
2025-07-25 20:38:54 +05:00
2025-08-05 19:34:46 +05:00
2025-07-31 21:25:49 +05:00
2025-11-03 02:23:12 +00:00
2025-08-05 19:34:46 +05:00
2024-06-03 13:03:52 +00:00
2025-08-05 19:34:46 +05:00
2025-08-09 16:27:20 +05:00
2025-08-05 19:34:46 +05:00
2026-01-22 19:50:00 +01:00
2025-07-31 21:25:49 +05:00