bors 0dddad0dc5 Auto merge of #111161 - compiler-errors:rtn-super, r=cjgillot
Support return-type bounds on associated methods from supertraits

Support `T: Trait<method(): Bound>` when `method` comes from a supertrait, aligning it with the behavior of associated type bounds (both equality and trait bounds).

The only wrinkle is that I have to extend `super_predicates_that_define_assoc_type` to look for *all* items, not just `AssocKind::Ty`. This will also be needed to support `feature(associated_const_equality)` as well, which is subtly broken when it comes to supertraits, though this PR does not fix those yet. There's a slight chance there's a perf regression here, in which case I guess I could split it out into a separate query.
2023-05-07 11:18:22 +00:00
..
2023-04-30 00:06:26 +08:00
2023-04-25 19:53:09 +00:00
2023-04-30 00:06:26 +08:00
2023-04-16 23:09:57 +00:00
2023-05-01 16:15:13 +08:00
2023-05-04 18:06:07 +00:00
2023-04-20 15:06:17 -03:00
2023-05-01 16:15:17 +08:00
2023-05-01 13:37:15 -07:00
2023-05-01 16:15:17 +08:00
2023-04-30 14:08:26 +00:00
2023-04-16 11:38:52 +00:00
2023-04-25 19:53:09 +00:00
2023-04-21 02:45:48 -07:00
2023-05-01 16:15:13 +08:00
2023-04-29 13:01:46 +01:00
2023-05-05 11:17:14 -04:00
2023-05-01 16:15:17 +08:00
2023-04-27 22:29:04 +02:00
2023-05-01 16:15:17 +08:00
2023-05-02 10:32:08 +00:00
2023-05-05 14:58:52 -07:00
2023-04-29 13:01:46 +01:00
2023-04-19 19:13:45 +00:00
2023-04-13 22:10:26 -05:00
2023-04-26 21:02:56 +02:00
2023-05-04 18:06:07 +00:00
2023-04-25 19:53:09 +00:00
2023-05-01 16:15:17 +08:00
2023-04-29 13:01:46 +01:00
2023-04-13 22:10:26 -05:00
2023-04-13 22:10:26 -05:00