rustc_attr_parsing

Function unmarked_crate_const_stab

Source
pub fn unmarked_crate_const_stab(
    _sess: &Session,
    attrs: &[impl AttributeExt],
    regular_stab: Stability,
) -> ConstStability
Expand description

Calculates the const stability for a const function in a -Zforce-unstable-if-unmarked crate without the staged_api feature.