Matthias Krüger 19604c2362
Rollup merge of #108554 - compiler-errors:late-bound-object-default, r=oli-obk
Only look for param in item's generics if it actually comes from generics

Record whether a `hir::GenericParam` comes from an item's generics, or from a `for<...>` binder. Then, only look for the param in `object_lifetime_default` if it actually comes from the item's generics.

Fixes #108177
2023-03-01 01:20:25 +01:00
..
2023-02-22 21:52:26 +00:00
2023-02-22 21:52:26 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-19 03:46:03 +00:00
2023-02-16 11:42:35 -03:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:21 +00:00
2023-02-22 21:52:26 +00:00
2023-02-16 11:42:35 -03:00
2023-01-30 21:51:35 +00:00
2023-01-30 20:12:19 +00:00
2023-02-07 19:17:24 +00:00
2023-02-16 11:42:35 -03:00
2023-02-25 16:27:10 +00:00
2023-02-16 11:42:35 -03:00
2023-01-30 20:12:19 +00:00
2023-02-20 15:28:59 +00:00
2023-01-30 20:12:19 +00:00
2023-02-05 15:29:07 +01:00
2023-02-16 15:06:17 -08:00
2023-02-12 20:18:48 -05:00
2023-01-30 20:12:19 +00:00
2023-02-26 10:30:27 +00:00
2023-02-21 05:21:07 +00:00
2023-02-07 19:17:24 +00:00
2023-02-22 21:52:26 +00:00
2023-02-21 05:21:07 +00:00
2023-02-09 10:26:49 +00:00