Skip to main content

parse_unstability

Function parse_unstability 

Source
pub(crate) fn parse_unstability<S: Stage>(
    cx: &mut AcceptContext<'_, '_, S>,
    args: &ArgParser,
) -> 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.