Skip to content

Commit

Permalink
Merge pull request #4606 from Manishearth/rustup
Browse files Browse the repository at this point in the history
Fix some tests
  • Loading branch information
Manishearth authored Oct 2, 2019
2 parents b462905 + 4318854 commit 648e5b9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 75 deletions.
19 changes: 0 additions & 19 deletions tests/ui/out_of_bounds_indexing/empty_array.rs

This file was deleted.

54 changes: 0 additions & 54 deletions tests/ui/out_of_bounds_indexing/empty_array.stderr

This file was deleted.

2 changes: 1 addition & 1 deletion tests/ui/out_of_bounds_indexing/issue-3102.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![warn(clippy::out_of_bounds_indexing)]
#![allow(clippy::no_effect)]
#![allow(clippy::no_effect, const_err)]

fn main() {
let x = [1, 2, 3, 4];
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/out_of_bounds_indexing/simple.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![warn(clippy::out_of_bounds_indexing)]
#![allow(clippy::no_effect, clippy::unnecessary_operation)]
#![allow(clippy::no_effect, clippy::unnecessary_operation, const_err)]

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

0 comments on commit 648e5b9

Please sign in to comment.