Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e7c5334

Browse files
authored
Rollup merge of rust-lang#71337 - Valloric:rustdoc-check-pass, r=GuillaumeGomez
Moving all rustdoc-ui tests to check-pass These were all build-pass before and don't seem to need it. Helps with rust-lang#62277 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/rust-lang/rust/71337) <!-- Reviewable:end -->
2 parents 372d37b + 2add9d8 commit e7c5334

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)