rustc_parse::validate_attr

Function check_builtin_meta_item

Source
pub fn check_builtin_meta_item(
    psess: &ParseSess,
    meta: &MetaItem,
    style: AttrStyle,
    name: Symbol,
    template: AttributeTemplate,
    deny_unsafety: bool,
)