about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/out_of_bounds_indexing/issue-3102.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/out_of_bounds_indexing/issue-3102.rs b/tests/ui/out_of_bounds_indexing/issue-3102.rs
index 9883548ddf9..edd2123d48a 100644
--- a/tests/ui/out_of_bounds_indexing/issue-3102.rs
+++ b/tests/ui/out_of_bounds_indexing/issue-3102.rs
@@ -1,4 +1,5 @@
 #![warn(clippy::out_of_bounds_indexing)]
+#![allow(clippy::no_effect)]
 
 fn main() {
     let x = [1, 2, 3, 4];