Files
rust/compiler/rustc_resolve
Matthias Krüger cd502ff78e Rollup merge of #150589 - AprilNEA:remove-unneeded-forbid-generic-field, r=camelid,BoxyUwU
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``
2026-01-03 10:09:30 +01:00
..