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

pub fn cfg_matches<T: CfgDiag>(cfgs: &[P<MetaItem>], cfg: &MetaItem, diag: &mut T) -> bool
Unstable (rustc_private)

Tests if a cfg-pattern matches the cfg set