Support multiple #[unstable]
features for library item
#134319
Labels
A-stability
Area: `#[stable]`, `#[unstable]` etc.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
F-staged_api
`#![feature(staged_api)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Sometimes a library item is unstable for multiple reasons, for example implementing an unstable trait for an unstable type (in this case it matters less because of impl stability rules being a bit special but it happens in other cases too).
desired example:
This way, when one feature is stabilized, the other unstable attribute is still present, ensuring that it's still unstable (the stable attribute shouldn't be added in that case of course).
User code would then also have to enable all the feature gates to use it (of course for trait impls that doesn't apply again).
The text was updated successfully, but these errors were encountered: