Function syntax::attr::cfg_matches [] [src]

pub fn cfg_matches(
    cfg: &MetaItem,
    sess: &ParseSess,
    features: Option<&Features>
) -> 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?

Tests if a cfg-pattern matches the cfg set