mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 00:47:16 +00:00
Update lints again.
This commit is contained in:
parent
77c48ca341
commit
2b477f361e
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue