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

pub fn cfg_matches(diagnostic: &SpanHandler, cfgs: &[P<MetaItem>], cfg: &MetaItem) -> bool
Unstable

Tests if a cfg-pattern matches the cfg set