Function clippy_lints::utils::get_parent_expr [] [src]

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

Get a parent expressions if any – this is useful to constrain a lint.