Skip to content

Commit 0e50fda

Browse files
authored
Rollup merge of rust-lang#139705 - jieyouxu:tests-precursor, r=compiler-errors
Removed outdated ui test suite README, give reasons for disabled tests ### Changes - `tests/ui/README.md` is very outdated, test suite docs should consistently live in rustc-dev-guide. - Add reasons for `//@ ignore-test` tests that don't have one.[^query] This is a precursor change to make follow-up changes easier (possibly more specialized directives or converting some auxiliaries into the canonical `auxiliary/` form). [^query]: searched via `rg --no-ignore -F -e "ignore-test" tests/`.
2 parents 824ef7f + db6e3aa commit 0e50fda

File tree

8 files changed

+7
-42
lines changed

8 files changed

+7
-42
lines changed

tests/ui/README.md

-35
This file was deleted.

tests/ui/bootstrap/self-test/a.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
//! Not used by compiler, this is used by bootstrap cli self-test.
2-
//@ ignore-test
2+
//@ ignore-test (used by bootstrap)

tests/ui/bootstrap/self-test/b.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
//! Not used by compiler, used by bootstrap cli self-test.
2-
//@ ignore-test
2+
//@ ignore-test (used by bootstrap)

tests/ui/lint/unknown-lints/other.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ ignore-test
1+
//@ ignore-test (auxiliary)
22

33
// Companion to allow-in-other-module.rs
44

tests/ui/precondition-checks/read.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ compile-flags: -Copt-level=3 -Cdebug-assertions=no -Zub-checks=yes
33
//@ error-pattern: unsafe precondition(s) violated: ptr::read requires
44
//@ revisions: null misaligned
5-
//@ ignore-test
5+
//@ ignore-test (unimplemented)
66

77
use std::ptr;
88

tests/ui/precondition-checks/write.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ compile-flags: -Copt-level=3 -Cdebug-assertions=no -Zub-checks=yes
33
//@ error-pattern: unsafe precondition(s) violated: ptr::write requires
44
//@ revisions: null misaligned
5-
//@ ignore-test
5+
//@ ignore-test (unimplemented)
66

77
use std::ptr;
88

tests/ui/precondition-checks/write_bytes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ compile-flags: -Copt-level=3 -Cdebug-assertions=no -Zub-checks=yes
33
//@ error-pattern: unsafe precondition(s) violated: ptr::write requires
44
//@ revisions: null misaligned
5-
//@ ignore-test
5+
//@ ignore-test (unimplemented)
66

77
use std::ptr;
88

tests/ui/traits/next-solver/object-soundness-requires-generalization.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ compile-flags: -Znext-solver
2-
//@ ignore-test
2+
//@ ignore-test (see #114196)
33

44
trait Trait {
55
type Gat<'lt>;

0 commit comments

Comments
 (0)