Function rustc_hir_analysis::check::wfcheck::check_method_receiver
source ยท fn check_method_receiver<'tcx>(
wfcx: &WfCheckingCtxt<'_, 'tcx>,
fn_sig: &FnSig<'_>,
method: AssocItem,
self_ty: Ty<'tcx>,
) -> Result<(), ErrorGuaranteed>