process_builtin_attrs

Function process_builtin_attrs 

Source
fn process_builtin_attrs(
    tcx: TyCtxt<'_>,
    did: LocalDefId,
    attrs: &[Attribute],
    codegen_fn_attrs: &mut CodegenFnAttrs,
) -> InterestingAttributeDiagnosticSpans
Expand description

Process the builtin attrs (hir::Attribute) on the item. Many of them directly translate to codegen attrs.