Function rustc_middle::middle::stability::deprecation_in_effect
source · pub fn deprecation_in_effect(depr: &Deprecation) -> bool
Expand description
Checks whether an item marked with deprecated(since="X")
is currently
deprecated (i.e., whether X is not greater than the current rustc version).