1
Fork 0
rust/compiler/rustc_smir/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
..
rustc_internal import rustc_smir::rustc_internal in run_driver! 2025-04-13 18:09:10 +08:00
rustc_smir Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
stable_mir Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
lib.rs Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated, r=petrochenkov 2025-04-14 03:56:55 +00:00