Function rustc_ast::attr::mk_attr

source ·
pub fn mk_attr(
    g: &AttrIdGenerator,
    style: AttrStyle,
    path: Path,
    args: MacArgs,
    span: Span
) -> Attribute