Skip to content

Commit a51f3a8

Browse files
committed
Auto merge of rust-lang#156044 - danieljofficial:move-tests-array-slice-vec, r=JonathanBrouwer
Move tests array slice vec r? @Kivooeo Hi, some tests that belong in the array-slice-vec folder
2 parents 045b177 + f326178 commit a51f3a8

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

tests/ui/issues/issue-3888-2.rs renamed to tests/ui/array-slice-vec/slice-subslice-ref-lifetime.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Regression test for https://github.com/rust-lang/rust/issues/3888
2+
13
//@ check-pass
24
#![allow(dead_code)]
35

tests/ui/issues/issue-4464.rs renamed to tests/ui/array-slice-vec/subslice-range-return-ref.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Regression test for https://github.com/rust-lang/rust/issues/4464
2+
13
//@ check-pass
24
#![allow(dead_code)]
35

tests/ui/issues/issue-2470-bounds-check-overflow.rs renamed to tests/ui/array-slice-vec/vec-index-bounds-check-overflow.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Regression test for https://github.com/rust-lang/rust/issues/2470
2+
13
//@ run-fail
24
//@ error-pattern:index out of bounds
35
//@ needs-subprocess

0 commit comments

Comments
 (0)