Files
rust/compiler
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-10-18 15:51:23 +11:00
2022-09-29 16:49:04 +09:00
2022-10-17 22:38:37 +01:00
2022-10-21 18:04:00 +08:00
2022-09-29 16:49:04 +09:00
2022-09-29 16:49:04 +09:00
2022-10-17 09:54:24 +01:00
2022-09-26 10:14:45 +02:00