]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/indexing_slicing_index.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / indexing_slicing_index.rs
index 7ebf6ee993cbd7a02b6db0b178a3de67f828ba8c..4476e0eb9220a636eb6c813ec414e661584c8c79 100644 (file)
@@ -3,7 +3,7 @@
 // We also check the out_of_bounds_indexing lint here, because it lints similar things and
 // we want to avoid false positives.
 #![warn(clippy::out_of_bounds_indexing)]
-#![allow(const_err, unconditional_panic, clippy::no_effect, clippy::unnecessary_operation)]
+#![allow(unconditional_panic, clippy::no_effect, clippy::unnecessary_operation)]
 
 const ARR: [i32; 2] = [1, 2];
 const REF: &i32 = &ARR[idx()]; // Ok, should not produce stderr.