rustc_hir_analysis::check

Function forbid_intrinsic_abi

Source
pub fn forbid_intrinsic_abi(tcx: TyCtxt<'_>, sp: Span, abi: ExternAbi)
Expand description

Forbid defining intrinsics in Rust code, as they must always be defined by the compiler.