clippy_utils::visitors

Function find_all_ret_expressions

source
pub fn find_all_ret_expressions<'hir, F>(
    _cx: &LateContext<'_>,
    expr: &'hir Expr<'hir>,
    callback: F,
) -> bool
where F: FnMut(&'hir Expr<'hir>) -> bool,