rust/compiler/rustc_trait_selection/src
Stuart Cook 13cd5256ac
Rollup merge of #139669 - nnethercote:overhaul-AssocItem, r=oli-obk
Overhaul `AssocItem`

`AssocItem` has multiple fields that only make sense some of the time. E.g. the `name` can be empty if it's an RPITIT associated type. It's clearer and less error prone if these fields are moved to the relevant `kind` variants.

r? ``@fee1-dead``
2025-04-15 15:47:27 +10:00
..
error_reporting Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
errors clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
solve Deeply normalize obligations in BestObligation 2025-04-10 18:58:04 +00:00
traits Rollup merge of #139669 - nnethercote:overhaul-AssocItem, r=oli-obk 2025-04-15 15:47:27 +10:00
errors.rs NonGenericOpaqueTypeParam::ty to arg 2025-04-11 15:18:30 +02:00
infer.rs Fix next solver handling of shallow trait impl check 2025-03-19 14:40:14 +00:00
lib.rs move check_opaque_type_parameter_valid 2025-04-03 11:13:10 +02:00
opaque_types.rs NonGenericOpaqueTypeParam::ty to arg 2025-04-11 15:18:30 +02:00
regions.rs Only use implied bounds hack if bevy, and use deeply normalize in implied bounds hack 2025-03-04 18:18:48 +00:00
solve.rs impossible obligations check fast path 2024-10-10 06:09:50 -04:00