Module rustc_middle::middle::stability
source · Expand description
A pass that annotates every item and method with its stability level, propagating default levels lexically from parent to children ast nodes.
Re-exports
pub use self::StabilityLevel::*;
Structs
An entry in the
depr_map
.A stability index, giving the stability level for items and methods.
Enums
An override option for eval_stability.
Result of
TyCtxt::eval_stability
.Functions
Checks whether an item marked with
deprecated(since="X")
is currently
deprecated (i.e., whether X is not greater than the current rustc version).