Update lints again.

This commit is contained in:
xiongmao86 2020-01-08 16:56:28 +08:00
parent 77c48ca341
commit 2b477f361e
1 changed files with 1 additions and 1 deletions

View File

@ -3275,7 +3275,7 @@ fn lint_filetype_is_file(cx: &LateContext<'_, '_>, expr: &hir::Expr<'_>, args: &
if_chain! {
if let Some(parent) = get_parent_expr(cx, expr);
if let hir::ExprKind::Unary(op, _) = parent.kind;
if op == hir::UnNot;
if op == hir::UnOp::UnNot;
then {
lint_unary = "!";
verb = "denies";