Skip to content

Commit 296a847

Browse files
test(chore): audit //@ run-pass in ui tests
Assisted-by: OpenAI:gpt-5.5 Co-authored-by: Ayuse <ayodeleoluwasina@gmail.com> Signed-off-by: Embers-of-the-Fire <stellarishs@163.com>
1 parent 0490dd9 commit 296a847

656 files changed

Lines changed: 656 additions & 656 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/ui/abi/relocation_model_pic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
//@ compile-flags: -C relocation-model=pic
33
//@ needs-relocation-model-pic
44

tests/ui/allocator/dyn-compatible.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33
// Check that `Allocator` is dyn-compatible, this allows for polymorphic allocators
44

tests/ui/array-slice-vec/array_const_index-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
#![allow(dead_code)]
33

44
fn main() {

tests/ui/array-slice-vec/cast-in-array-size.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33

44
// issues #10618 and #16382

tests/ui/array-slice-vec/copy-out-of-array-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ build-pass
22

33
// Ensure that we can copy out of a fixed-size array.
44
//

tests/ui/array-slice-vec/empty-mutable-vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33

44
#![allow(unused_mut)]

tests/ui/array-slice-vec/issue-15730.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
#![allow(unused_mut)]
33
#![allow(unused_variables)]
44

tests/ui/array-slice-vec/issue-18425.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ build-pass
22
// Check that codegen doesn't ICE when codegenning an array repeat
33
// expression with a count of 1 and a non-Copy element type.
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ build-pass
22

33
fn f(_a: Vec<isize> ) { }
44
pub fn main() { f(vec![1, 2, 3, 4, 5]); }

tests/ui/array-slice-vec/mut-vstore-expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33
pub fn main() {
44
let _x: &mut [isize] = &mut [ 1, 2, 3 ];

0 commit comments

Comments
 (0)