rustc_hir_analysis::check

Function check_function_signature

Source
pub fn check_function_signature<'tcx>(
    tcx: TyCtxt<'tcx>,
    cause: ObligationCause<'tcx>,
    fn_id: DefId,
    expected_sig: PolyFnSig<'tcx>,
) -> Result<(), ErrorGuaranteed>