Function rustc_attr::builtin::cfg_matches [−][src]
pub fn cfg_matches(
cfg: &MetaItem,
sess: &ParseSess,
features: Option<&Features>
) -> bool
Tests if a cfg-pattern matches the cfg set
pub fn cfg_matches(
cfg: &MetaItem,
sess: &ParseSess,
features: Option<&Features>
) -> bool
Tests if a cfg-pattern matches the cfg set