fn check_int_to_ptr_transmute<'tcx>(
cx: &LateContext<'tcx>,
expr: &'tcx Expr<'tcx>,
arg: &'tcx Expr<'tcx>,
src: Ty<'tcx>,
dst: Ty<'tcx>,
)
Expand description
Check for transmutes from integer to pointers (*const/*mut and &/&mut).
Using the resulting pointers would be undefined behavior.