diff options
| author | xiongmao86 <xiongmao86dev@sina.com> | 2020-01-08 16:56:28 +0800 |
|---|---|---|
| committer | xiongmao86 <xiongmao86dev@sina.com> | 2020-01-12 19:54:17 +0800 |
| commit | 2b477f361eda786c64f7cdc19c5034fc3269dacc (patch) | |
| tree | 1232237c36309a25e85d4a804d33f78ff7b9fddc /clippy_lints/src/methods | |
| parent | 77c48ca34107d39ac82cd2d0032c49aac85e773b (diff) | |
| download | rust-2b477f361eda786c64f7cdc19c5034fc3269dacc.tar.gz rust-2b477f361eda786c64f7cdc19c5034fc3269dacc.zip | |
Update lints again.
Diffstat (limited to 'clippy_lints/src/methods')
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index ddadf02238a..f083543d68d 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -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"; |
