[−][src]Function rustc::middle::stability::deprecation_in_effect
pub fn deprecation_in_effect(since: &str) -> bool
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Check whether an item marked with deprecated(since="X")
is currently
deprecated (i.e. whether X is not greater than the current rustc version).