Esteban Küber
7dfc3e9af4
Rework borrowing suggestions to use Expr instead of just Span
...
In the suggestion machinery for borrowing expressions and types, always use the available obligation `Span` to find the appropriate `Expr` to perform appropriateness checks no the `ExprKind` instead of on the textual snippet corresponding to the `Span`.
Unify the logic for the case where `&` *and* `&mut` are appropriate with the logic for only one of those cases.
Handle the case when `S::foo()` should have been `<&S>::foo()` (instead of suggesting the prior `&S::foo()`.
2025-07-10 17:23:29 +00:00
..
2025-06-04 10:40:04 -04:00
2025-04-08 23:06:31 +03:00
2025-02-05 08:18:38 +00:00
2025-02-10 20:21:39 +00:00
2024-12-11 11:59:13 +00:00
2025-01-07 02:27:15 +00:00
2024-12-11 11:59:12 +00:00
2025-07-10 17:23:29 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:12 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-19 12:02:08 +00:00
2024-12-11 11:59:12 +00:00
2024-12-14 20:27:15 +00:00
2024-12-14 20:27:15 +00:00
2024-12-11 11:59:12 +00:00
2025-02-21 00:41:17 +00:00
2024-12-20 12:29:00 +00:00
2024-12-20 12:29:00 +00:00
2024-02-16 20:02:50 +00:00
2024-08-17 12:43:25 -04:00
2024-08-17 12:43:25 -04:00
2025-04-08 23:06:31 +03:00
2024-10-04 23:38:41 +00:00
2024-05-17 20:31:13 +00:00
2024-05-17 21:23:47 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-06-13 01:16:36 +02:00
2024-08-27 17:32:35 +00:00
2024-08-27 17:32:35 +00:00
2025-01-27 11:11:27 +00:00
2024-12-11 11:59:13 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:12 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:12 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2024-02-16 20:02:50 +00:00
2024-12-14 20:27:15 +00:00
2024-12-14 20:27:15 +00:00
2025-01-14 18:52:42 +00:00
2025-01-14 18:52:42 +00:00
2024-12-11 11:59:12 +00:00
2025-01-24 16:51:20 +00:00
2024-12-11 11:59:12 +00:00
2025-01-24 16:51:20 +00:00
2024-10-30 10:48:08 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-01-26 21:20:31 +01:00
2025-05-26 10:57:54 +00:00
2025-05-27 08:18:11 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-12-11 11:59:13 +00:00
2024-12-11 11:59:13 +00:00
2025-05-23 12:20:35 +00:00
2025-05-23 12:20:35 +00:00
2025-02-04 01:50:31 +00:00
2025-02-04 01:50:31 +00:00
2025-02-04 01:50:31 +00:00
2025-02-24 19:34:54 +00:00
2025-02-24 19:34:54 +00:00
2025-02-24 19:34:54 +00:00
2025-02-24 19:34:54 +00:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2024-10-10 01:13:29 +02:00
2025-03-30 02:39:19 +00:00
2025-03-11 16:32:56 +00:00
2025-03-11 16:32:56 +00:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-02-04 04:23:04 +00:00
2025-02-04 04:23:04 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-01-14 18:47:23 +00:00
2025-06-04 10:40:04 -04:00
2025-06-04 10:40:04 -04:00
2025-06-04 10:40:04 -04:00
2025-06-04 10:40:04 -04:00
2024-07-16 12:06:25 -04:00
2024-05-18 13:08:34 -04:00
2024-05-18 13:08:34 -04:00
2024-05-18 13:08:34 -04:00
2024-05-18 13:08:34 -04:00
2024-11-26 02:50:48 +08:00
2025-05-06 17:04:03 +02:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-06-30 20:36:16 +02:00
2025-06-30 20:36:16 +02:00
2024-02-16 20:02:50 +00:00
2025-06-05 09:19:31 +02:00
2024-11-26 02:50:48 +08:00
2024-07-12 03:02:57 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-09-13 14:10:56 +03:00