Function clippy_utils::rustc_ty::relate::super_relate_tys [−][src]
pub fn super_relate_tys<'tcx, R>(
relation: &mut R,
a: &'tcx TyS<'tcx>,
b: &'tcx TyS<'tcx>
) -> Result<&'tcx TyS<'tcx>, TypeError<'tcx>> where
R: TypeRelation<'tcx>, Expand description
The main “type relation” routine. Note that this does not handle inference artifacts, so you should filter those out before calling it.