Skip to content

Commit 2add9d8

Browse files
committed
Moving all rustdoc-ui tests to check-pass
These were all build-pass before and don't seem to need it. Helps with #62277
1 parent 52fa23a commit 2add9d8

19 files changed

+19
-19
lines changed

src/test/rustdoc-ui/cfg-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22
// compile-flags:--test --test-args --test-threads=1
33
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
44

src/test/rustdoc-ui/coverage/basic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![feature(extern_types)]
55

src/test/rustdoc-ui/coverage/empty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
// an empty crate still has one item to document: the crate root

src/test/rustdoc-ui/coverage/enums.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
//! (remember the crate root is still a module)
55

src/test/rustdoc-ui/coverage/exotic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![feature(doc_keyword)]
55

src/test/rustdoc-ui/coverage/json.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass
1+
// check-pass
22
// compile-flags:-Z unstable-options --output-format json --show-coverage
33

44
pub mod foo {

src/test/rustdoc-ui/coverage/private.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage --document-private-items
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![allow(unused)]
55

src/test/rustdoc-ui/coverage/statics-consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
//! gotta make sure we can count statics and consts correctly, too
55

src/test/rustdoc-ui/coverage/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// compile-flags:-Z unstable-options --show-coverage
2-
// build-pass (FIXME(62277): could be check-pass?)
2+
// check-pass
33

44
#![feature(trait_alias)]
55

src/test/rustdoc-ui/deprecated-attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
#![doc(no_default_passes, passes = "collapse-docs unindent-comments")]
44

0 commit comments

Comments
 (0)