Matthias Krüger
ff689a1404
Rollup merge of #103355 - compiler-errors:rpitit-default-check, r=oli-obk
...
Handle return-position `impl Trait` in traits properly in `register_hidden_type`
The bounds that we get by calling `bound_explicit_item_bounds` from an RPITIT have projections, not opaques, but when we're *registering* an opaque, we want to treat it like an opaque.
Coincidentally fixes #102688 as well, which makes sense, since that was failing because we were inferring an opaque type to be equal to itself (opaque cycle error => "cannot resolve opaque type").
Fixes #103352
r? ```@oli-obk```
2022-10-23 08:14:31 +02:00
..
2022-08-18 19:29:02 +01:00
2022-08-23 19:32:37 +04:00
2022-10-18 15:51:23 +11:00
2022-10-21 17:29:58 +05:30
2022-10-22 00:14:02 +02:00
2022-10-10 02:31:37 +00:00
2022-09-29 16:49:04 +09:00
2022-10-20 13:33:50 +00:00
2022-10-15 15:16:32 +00:00
2022-10-14 12:57:56 +08:00
2022-10-17 22:38:37 +01:00
2022-10-19 16:21:21 +02:00
2022-10-22 19:14:34 +00:00
2022-10-20 22:42:41 +02:00
2022-10-21 18:04:00 +08:00
2022-10-19 17:37:48 +11:00
2022-10-13 00:53:46 +08:00
2022-10-21 17:29:58 +05:30
2022-10-21 17:29:58 +05:30
2022-10-21 17:29:58 +05:30
2022-10-20 22:44:10 +00:00
2022-08-18 19:29:02 +01:00
2022-08-18 19:29:02 +01:00
2022-10-12 17:49:10 +05:30
2022-10-23 08:14:30 +02:00
2022-10-15 23:34:21 +09:00
2022-10-22 06:52:12 +00:00
2022-10-10 00:09:42 +09:00
2022-09-29 16:49:04 +09:00
2022-10-23 08:14:31 +02:00
2022-10-21 09:52:18 +00:00
2022-09-29 16:49:04 +09:00
2022-10-23 08:14:30 +02:00
2022-10-22 00:13:59 +02:00
2022-09-26 16:51:18 -07:00
2022-08-18 19:29:02 +01:00
2022-10-17 09:54:24 +01:00
2022-10-22 05:08:51 +00:00
2022-10-23 08:14:30 +02:00
2022-10-15 07:36:38 +00:00
2022-10-08 14:38:18 +02:00
2022-10-21 02:33:15 -07:00
2022-10-17 10:54:01 +02:00
2022-10-23 08:14:31 +02:00
2022-10-01 01:05:01 +02:00
2022-10-19 13:34:18 +02:00
2022-09-29 16:49:04 +09:00
2022-10-19 10:15:46 +02:00
2022-10-21 02:33:15 -07:00
2022-10-14 22:35:56 +02:00
2022-10-21 17:29:59 +05:30
2022-10-09 07:09:57 +00:00
2022-09-26 10:14:45 +02:00
2022-10-22 05:08:51 +00:00
2022-09-13 19:18:23 +02:00
2022-10-20 10:40:09 +00:00
2022-10-14 12:57:56 +08:00
2022-10-19 12:41:11 +02:00
2022-10-23 08:14:30 +02:00
2022-10-17 10:54:03 +02:00
2022-10-07 07:06:19 -05:00
2022-10-21 02:33:15 -07:00
2022-10-19 17:11:40 +00:00