fn try_report_async_mismatch<'tcx>(
tcx: TyCtxt<'tcx>,
infcx: &InferCtxt<'tcx>,
errors: &[FulfillmentError<'tcx>],
trait_m: AssocItem,
impl_m: AssocItem,
impl_sig: FnSig<'tcx>,
) -> Result<(), ErrorGuaranteed>
Expand description
Manually check here that async fn foo()
wasn’t matched against fn foo()
,
and extract a better error if so.