rustc_parse::parser::attr_wrapper

Function has_cfg_or_cfg_attr

source
fn has_cfg_or_cfg_attr(attrs: &[Attribute]) -> bool
Expand description

Returns true if attrs contains a cfg or cfg_attr attribute