You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only purpose this serves is to make stability attributes modal, distinguishing between in-tree and out-of-tree use cases. #29952 though renamed #[deprecated] to #[rustc_deprecated], so afaik #[staged_api] does nothing useful.
Fixing this should be a matter of removing the code that checks it in stability.rs, following the leads to other fallout in the compiler, removing the attribute from all the crates it's attached to.
Hm, what about #[stable] and #[unstable]? They are guarded by #[staged_api] as well.
But they can probably be guarded by #[feature(staged_api)] itself instead.
Activity
brson commentedon Nov 23, 2015
Fixing this should be a matter of removing the code that checks it in stability.rs, following the leads to other fallout in the compiler, removing the attribute from all the crates it's attached to.
petrochenkov commentedon Nov 23, 2015
Hm, what about
#[stable]
and#[unstable]
? They are guarded by#[staged_api]
as well.But they can probably be guarded by
#[feature(staged_api)]
itself instead.#[staged_api]
#30015Auto merge of #30015 - petrochenkov:staged, r=brson
Auto merge of #30015 - petrochenkov:staged, r=brson