rustc_middle::ty::cast

Function mir_cast_kind

Source
pub fn mir_cast_kind<'tcx>(from_ty: Ty<'tcx>, cast_ty: Ty<'tcx>) -> CastKind
Expand description

Returns mir::CastKind from the given parameters.