From 7a888968f941a8abcf6ce66f7a747ad9307e70e5 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Tue, 16 Jul 2019 21:29:03 +0200 Subject: [PATCH] Allow no_effect lint for cleaner stderr file Co-Authored-By: Philipp Krones --- tests/ui/out_of_bounds_indexing/issue-3102.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ui/out_of_bounds_indexing/issue-3102.rs b/tests/ui/out_of_bounds_indexing/issue-3102.rs index 9883548ddf93..edd2123d48a5 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];