Skip to content

Commit 648e5b9

Browse files
authored
Merge pull request #4606 from Manishearth/rustup
Fix some tests
2 parents b462905 + 4318854 commit 648e5b9

File tree

4 files changed

+2
-75
lines changed

4 files changed

+2
-75
lines changed

tests/ui/out_of_bounds_indexing/empty_array.rs

-19
This file was deleted.

tests/ui/out_of_bounds_indexing/empty_array.stderr

-54
This file was deleted.

tests/ui/out_of_bounds_indexing/issue-3102.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![warn(clippy::out_of_bounds_indexing)]
2-
#![allow(clippy::no_effect)]
2+
#![allow(clippy::no_effect, const_err)]
33

44
fn main() {
55
let x = [1, 2, 3, 4];

tests/ui/out_of_bounds_indexing/simple.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![warn(clippy::out_of_bounds_indexing)]
2-
#![allow(clippy::no_effect, clippy::unnecessary_operation)]
2+
#![allow(clippy::no_effect, clippy::unnecessary_operation, const_err)]
33

44
fn main() {
55
let x = [1, 2, 3, 4];

0 commit comments

Comments
 (0)