rustc_attr::builtin

Function 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.