rustc_attr

Function unmarked_crate_const_stab

Source
pub fn unmarked_crate_const_stab(
    _sess: &Session,
    attrs: &[Attribute],
    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.