Function rustc_attr::eval_condition
source · pub fn eval_condition(
cfg: &MetaItem,
sess: &ParseSess,
features: Option<&Features>,
eval: &mut impl FnMut(Condition) -> bool
) -> bool
Expand description
Evaluate a cfg-like condition (with any
and all
), using eval
to
evaluate individual items.