summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/len_zero.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/len_zero.fixed')
-rw-r--r--src/tools/clippy/tests/ui/len_zero.fixed2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/len_zero.fixed b/src/tools/clippy/tests/ui/len_zero.fixed
index 2c22abd7e..fafee6a0d 100644
--- a/src/tools/clippy/tests/ui/len_zero.fixed
+++ b/src/tools/clippy/tests/ui/len_zero.fixed
@@ -1,7 +1,7 @@
//@run-rustfix
#![warn(clippy::len_zero)]
-#![allow(dead_code, unused, clippy::len_without_is_empty)]
+#![allow(dead_code, unused, clippy::needless_if, clippy::len_without_is_empty)]
extern crate core;
use core::ops::Deref;