mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
e8ad7f25e4
Change `ItemKind::Trait` to a field variant. This changes `ItemKind::Trait` from an octuple(!!) to an enum variant with fields. Their names were chosen to match up with existing usage and minimize renaming. I'm leaning towards renaming `ident` to `name` as well; let me know if that's desired.