Function rustc_trans::middle::typeck::infer::mk_coercetyExperimental [-]  [+] [src]

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