pub(crate) fn peel_casts<'tcx>(
cx: &LateContext<'tcx>,
e: &'tcx Expr<'tcx>,
) -> &'tcx Expr<'tcx>Expand description
Given an expression, peel all of casts (<expr> as ..., <expr>.cast{,_mut,_const}(),
ptr::from_ref(<expr>), …) and init expressions.
Returns the innermost expression.