Function syntax::attr::eval_condition [] [src]

pub fn eval_condition<F>(cfg: &MetaItem, sess: &ParseSess, eval: &mut F) -> bool where
    F: FnMut(&MetaItem) -> bool
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Evaluate a cfg-like condition (with any and all), using eval to evaluate individual items.