rustc_feature

Function find_gated_cfg

source
pub fn find_gated_cfg(
    pred: impl Fn(Symbol) -> bool,
) -> Option<&'static GatedCfg>
Expand description

Find a gated cfg determined by the predicate which is given the cfg’s name.