Function rustc_typeck::middle::infer::mk_coercetyExperimental [-]  [+] [src]

pub fn mk_coercety(cx: &InferCtxt<'a, 'tcx>, a_is_expected: bool, origin: TypeOrigin, a: &'tcx TyS<'tcx>, b: &'tcx TyS<'tcx>) -> Result<Option<AutoAdjustment<'tcx>>, type_err<'tcx>>