Michael Goulet
61c776ae0a
Rollup merge of #119638 - lukas-code:suggest-constructor-cycle-error, r=cjgillot
...
fix cyle error when suggesting to use associated function instead of constructor
Fixes https://github.com/rust-lang/rust/issues/119625 .
The first commit fixes the infinite recursion and makes the cycle error actually show up. We do this by making the `Display` for `ty::Instance` impl respect `with_no_queries` so that it can be used in query descriptions.
The second commit fixes the cycle error `resolver_for_lowering` -> `normalize` -> `resolve_instance` (for evaluating const) -> `lang_items` (for `drop_in_place`) -> `resolver_for_lowering` (for collecting lang items). We do this by simply skipping the suggestion when encountering an unnormalized type.
2024-01-05 23:41:43 -05:00
..
2023-12-14 02:01:13 +00:00
2024-01-02 15:34:37 -05:00
2023-12-21 16:45:29 +05:30
2024-01-02 15:34:37 -05:00
2024-01-05 09:30:27 +00:00
2024-01-02 15:34:37 -05:00
2023-12-22 11:01:07 -08:00
2023-12-28 02:03:43 +01:00
2024-01-05 04:51:55 +00:00
2024-01-05 10:00:59 +00:00
2023-12-12 15:54:25 +11:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2024-01-05 10:00:59 +00:00
2024-01-03 23:49:56 +00:00
2023-12-07 23:00:46 -05:00
2023-12-10 10:56:22 +08:00
2024-01-02 15:34:37 -05:00
2023-12-12 17:40:53 +01:00
2023-12-20 22:53:56 -05:00
2023-12-30 01:06:03 +01:00
2023-12-07 23:00:46 -05:00
2024-01-05 20:39:52 +01:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2023-12-15 18:13:40 +00:00
2023-12-14 15:22:37 +01:00
2024-01-05 09:30:27 +00:00
2024-01-05 04:51:55 +00:00
2023-12-07 17:46:36 +01:00
2024-01-05 10:00:59 +00:00
2024-01-05 20:39:53 +01:00
2024-01-02 15:34:37 -05:00
2023-12-08 19:55:07 +00:00
2024-01-05 15:23:10 +01:00
2023-12-21 16:45:29 +05:30
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2023-12-16 19:56:50 -08:00
2024-01-02 15:34:37 -05:00
2023-12-20 09:46:10 +01:00
2023-12-23 00:09:37 +08:00
2024-01-02 15:34:37 -05:00
2024-01-05 10:00:59 +00:00
2023-12-09 08:53:20 -05:00
2023-12-10 14:25:57 +01:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:57:20 -05:00
2023-12-13 23:07:10 +00:00
2023-12-19 13:35:37 -05:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-13 23:07:10 +00:00
2024-01-02 14:17:56 +00:00
2023-12-27 12:51:32 +01:00
2024-01-02 15:34:37 -05:00
2024-01-03 15:27:58 +01:00
2023-12-22 20:28:48 +00:00
2023-12-20 02:19:10 +00:00
2024-01-05 14:48:53 +00:00
2023-12-16 01:28:05 +00:00
2023-12-04 22:26:08 +00:00
2024-01-02 15:34:37 -05:00
2023-12-11 09:36:40 +11:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2023-12-08 00:00:00 +00:00
2024-01-05 10:00:59 +00:00
2023-12-13 23:07:10 +00:00
2023-12-15 16:12:27 +00:00
2024-01-05 04:51:55 +00:00
2023-12-28 02:03:43 +01:00
2023-12-07 23:00:46 -05:00
2024-01-05 10:00:59 +00:00
2024-01-05 20:39:52 +01:00
2024-01-05 09:30:27 +00:00
2023-12-07 23:00:46 -05:00
2024-01-05 04:51:55 +00:00
2023-12-12 15:54:25 +11:00
2024-01-02 15:34:37 -05:00
2024-01-05 10:57:22 -05:00
2024-01-05 04:51:55 +00:00
2023-12-27 17:26:12 +00:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-19 13:35:37 -05:00
2024-01-05 18:49:25 +01:00
2024-01-04 00:46:33 +00:00
2024-01-02 22:18:35 +00:00
2023-12-07 23:00:46 -05:00
2023-12-10 10:56:22 +08:00
2024-01-02 15:34:37 -05:00
2023-12-15 16:12:27 +00:00
2023-12-14 15:22:37 +01:00
2024-01-05 04:51:55 +00:00
2024-01-05 20:39:52 +01:00
2023-12-12 00:00:00 +00:00
2024-01-04 02:02:57 +08:00
2024-01-05 15:23:09 +01:00
2024-01-05 09:30:27 +00:00
2024-01-02 15:34:37 -05:00
2023-12-07 23:00:46 -05:00
2023-12-18 23:55:47 +00:00
2024-01-02 15:34:37 -05:00
2023-12-16 01:28:05 +00:00
2024-01-02 15:34:37 -05:00
2024-01-05 21:56:32 +01:00
2024-01-05 20:39:54 +01:00
2024-01-05 09:30:27 +00:00
2023-12-10 13:03:28 -08:00
2024-01-03 10:00:15 -08:00
2023-12-12 17:40:53 +01:00
2024-01-05 09:30:27 +00:00
2023-12-26 17:57:33 +01:00
2024-01-05 09:30:27 +00:00
2024-01-05 04:51:55 +00:00
2023-12-14 18:10:38 +03:00
2024-01-05 10:00:59 +00:00
2024-01-05 09:30:27 +00:00
2024-01-05 10:56:59 +00:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2024-01-05 20:39:50 +01:00
2023-12-19 13:35:37 -05:00
2023-12-30 18:17:28 +01:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2023-12-19 20:58:45 +11:00
2024-01-05 20:39:51 +01:00
2023-12-14 15:22:37 +01:00
2023-12-02 09:01:19 +11:00
2023-12-05 22:22:08 +00:00
2023-12-05 22:22:08 +00:00
2023-12-26 23:48:55 +00:00
2024-01-05 10:00:59 +00:00
2024-01-05 23:41:42 -05:00
2024-01-02 15:34:37 -05:00
2024-01-02 14:17:56 +00:00
2024-01-02 15:34:37 -05:00
2023-12-12 17:40:53 +01:00
2023-12-09 00:44:49 +01:00
2024-01-05 10:00:59 +00:00
2023-12-28 19:46:51 +01:00
2023-12-26 04:07:38 +00:00
2024-01-05 10:00:59 +00:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2024-01-02 14:17:56 +00:00
2023-12-19 13:35:37 -05:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-21 10:17:11 +08:00
2023-12-21 10:17:11 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2023-12-15 16:12:27 +00:00
2023-12-12 17:40:53 +01:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2023-12-16 19:56:50 -08:00
2024-01-02 15:34:37 -05:00
2024-01-02 15:34:37 -05:00
2023-12-10 13:03:28 -08:00
2024-01-02 15:34:37 -05:00