Function rustc::middle::typeck::require_same_types[src]

pub fn require_same_types(tcx: &ctxt, maybe_infcx: Option<&InferCtxt>, t1_is_expected: bool, span: Span, t1: t, t2: t, msg: || -> String) -> bool