rustc_parse::validate_attr

Function is_attr_template_compatible

source
fn is_attr_template_compatible(
    template: &AttributeTemplate,
    meta: &MetaItemKind,
) -> bool
Expand description

Checks that the given meta-item is compatible with this AttributeTemplate.