Function clippy_utils::expr_path_res [−][src]
pub fn expr_path_res(cx: &LateContext<'_>, expr: &Expr<'_>) -> ResExpand description
If the expression is a path, resolve it. Otherwise, return Res::Err.
pub fn expr_path_res(cx: &LateContext<'_>, expr: &Expr<'_>) -> ResIf the expression is a path, resolve it. Otherwise, return Res::Err.