Function rustc_hir_analysis::check::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>