Function clippy_utils::peel_hir_expr_refs

source ·
pub fn peel_hir_expr_refs<'a>(expr: &'a Expr<'a>) -> (&'a Expr<'a>, usize)
Expand description

Peels off all references on the expression. Returns the underlying expression and the number of references removed.