Function rustc_attr::eval_condition
source ยท pub fn eval_condition(
cfg: &MetaItem,
sess: &Session,
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.