Skip to content

Commit a17a6ac

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 8954863 commit a17a6ac

686 files changed

Lines changed: 685 additions & 1091 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.

src/llvm-project

Submodule llvm-project updated 83 files

src/tools/cargo

Submodule cargo updated 121 files

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)]

0 commit comments

Comments
 (0)