mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
cd502ff78e
Remove unneeded `forbid_generic` field from `Res::SelfTyAlias` Following rust-lang/rust#150519, the `forbid_generic` field in `Res::SelfTyAlias` is no longer needed and can be removed. - Remove the `forbid_generic: bool` field from `Res::SelfTyAlias` - Simplify the ConstantItem rib handling in `rustc_resolve` - no longer need to mutate res to set `forbid_generic: true` - Update all pattern matches and constructors of `SelfTyAlias` Closes rust-lang/rust#150579 r? ``@camelid``