rustc_hir_analysis::collect

Function compute_sig_of_foreign_fn_decl

Source
fn compute_sig_of_foreign_fn_decl<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: LocalDefId,
    decl: &'tcx FnDecl<'tcx>,
    abi: ExternAbi,
    safety: Safety,
) -> PolyFnSig<'tcx>