Function rustc_attr::builtin::parse_stability

source ·
fn parse_stability(
    sess: &Session,
    attr: &Attribute
) -> Option<(Symbol, StabilityLevel)>
Expand description

Read the content of a stable/rustc_const_stable attribute, and return the feature name and its stability information.