Matthias Krüger
c77191f46b
Rollup merge of #142034 - estebank:issue-141258, r=davidtwco
...
Detect method not being present that is present in other tuple types
When a method is not present because of a trait bound not being met, and that trait bound is on a tuple, we check if making the tuple have no borrowed types makes the method to be found and highlight it if it does. This is a common problem for Bevy in particular and ORMs in general.
<img width="1166" alt="Screenshot 2025-06-04 at 10 38 24 AM" src="https://github.com/user-attachments/assets/d257c9ea-c2d7-42e7-8473-8b93aa54b8e0 " />
Address rust-lang/rust#141258 . I believe that more combination of cases in the tuple types should be handled (like adding borrows and checking when a specific type needs to not be a borrow while the rest stay the same), but for now this handles the most common case.
2025-06-12 22:09:43 +02:00
..
2025-04-08 23:06:31 +03:00
2025-02-13 05:45:53 +00:00
2025-04-08 23:06:31 +03:00
2025-01-03 19:39:39 +00:00
2024-03-20 15:53:06 +00:00
2024-03-20 15:53:06 +00:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:12 +00:00
2024-12-11 11:59:12 +00:00
2025-04-29 12:46:26 +02:00
2025-04-29 12:46:26 +02:00
2025-04-08 23:06:31 +03:00
2025-02-10 20:21:39 +00:00
2025-05-05 14:27:09 +00:00
2025-05-05 14:27:09 +00:00
2025-05-05 14:27:09 +00:00
2025-05-05 14:27:09 +00:00
2024-07-26 13:18:35 -04:00
2024-07-26 13:18:35 -04:00
2024-09-29 11:57:18 -04:00
2024-09-29 11:57:18 -04:00
2024-07-15 17:53:22 -04:00
2024-12-07 21:37:13 +00:00
2024-04-21 20:10:12 -04:00
2025-03-03 23:53:42 +00:00
2025-03-03 23:53:42 +00:00
2025-03-04 00:21:02 +08:00
2025-03-04 00:21:02 +08:00
2025-06-11 20:51:49 +05:00
2024-03-03 16:30:48 -03:00
2024-03-03 16:30:48 -03:00
2024-03-03 16:30:48 -03:00
2025-05-24 23:31:07 +02:00
2024-04-21 20:10:12 -04:00
2025-02-10 20:21:39 +00:00
2024-02-16 20:02:50 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2024-02-16 20:02:50 +00:00
2025-02-21 00:41:17 +00:00
2024-07-22 22:51:53 +00:00
2024-02-16 20:02:50 +00:00
2024-05-30 22:52:33 +02:00
2024-05-30 22:52:33 +02:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2024-11-26 02:50:48 +08:00
2024-05-09 14:47:09 +10:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2025-02-10 20:21:39 +00:00
2025-05-24 23:31:07 +02:00
2024-02-16 20:02:50 +00:00
2025-02-14 00:44:10 -08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03: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
2024-09-13 14:10:56 +03: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-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2025-06-04 18:18:06 +00:00
2025-06-04 18:18:06 +00:00
2024-08-26 13:02:21 -04:00
2024-08-26 13:02:21 -04:00
2025-03-11 12:05:02 +00:00
2024-09-12 14:48:01 -04:00
2024-09-12 14:48:01 -04:00
2024-05-13 23:38:31 -04:00
2024-05-13 23:38:31 -04:00
2024-04-01 21:41:45 -04:00
2024-09-16 10:55:07 -04:00
2025-05-24 23:31:07 +02:00
2024-04-21 20:10:12 -04:00
2024-04-10 18:51:09 +02:00
2025-02-10 20:21:39 +00:00
2024-05-23 19:42:10 -04:00
2024-05-23 19:42:10 -04:00
2025-05-24 23:31:07 +02:00
2025-05-24 23:31:07 +02:00
2025-05-31 19:49:19 +05:00
2025-05-31 19:49:19 +05:00