Function rustc_middle::ty::cast::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.
pub fn mir_cast_kind<'tcx>(from_ty: Ty<'tcx>, cast_ty: Ty<'tcx>) -> CastKind
Returns mir::CastKind
from the given parameters.