Function rustc_lint::reference_casting::is_cast_from_ref_to_mut_ptr

source ยท
fn is_cast_from_ref_to_mut_ptr<'tcx>(
    cx: &LateContext<'tcx>,
    orig_expr: &'tcx Expr<'tcx>,
    peel_casts: impl FnMut() -> (&'tcx Expr<'tcx>, bool),
) -> Option<bool>