Function clippy::utils::get_parent_expr [] [src]

pub fn get_parent_expr<'c>(cx: &'c LateContext, e: &Expr) -> Option<&'c Expr>

get a parent expr if any – this is useful to constrain a lint