Function rustc_driver::find_gated_cfg[−][src]

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

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