Function rustc_feature::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.
pub fn find_gated_cfg(
pred: impl Fn(Symbol) -> bool
) -> Option<&'static GatedCfg>Find a gated cfg determined by the predicate which is given the cfg’s name.