mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
13cd5256ac
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``