pub fn expr_path_res(cx: &LateContext<'_>, expr: &Expr<'_>) -> Res
Expand description

If the expression is a path, resolve it. Otherwise, return Res::Err.