Function rustc_attr::builtin::parse_unstability

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

Read the content of a unstable/rustc_const_unstable/rustc_default_body_unstable attribute, and return the feature name and its stability information.