Rollup merge of #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 #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 -->
This commit is contained in:
commit
e7c5334a88
@ -1,4 +1,4 @@
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
// compile-flags:--test --test-args --test-threads=1
|
||||
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![feature(extern_types)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
// an empty crate still has one item to document: the crate root
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
//! (remember the crate root is still a module)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![feature(doc_keyword)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
// compile-flags:-Z unstable-options --output-format json --show-coverage
|
||||
|
||||
pub mod foo {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage --document-private-items
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![allow(unused)]
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
//! gotta make sure we can count statics and consts correctly, too
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![feature(trait_alias)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![doc(no_default_passes, passes = "collapse-docs unindent-comments")]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
// compile-flags:--test
|
||||
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
// compile-flags:--test
|
||||
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// ignore-tidy-cr
|
||||
// build-pass
|
||||
// check-pass
|
||||
|
||||
// This file checks the spans of intra-link warnings in a file with CRLF line endings. The
|
||||
// .gitattributes file in this directory should enforce it.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
|
||||
//! Test with [Foo::baz], [Bar::foo], ...
|
||||
//~^ WARNING `[Foo::baz]` cannot be resolved
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
|
||||
/// ```
|
||||
/// \__________pkt->size___________/ \_result->size_/ \__pkt->size__/
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![deny(private_doc_tests)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
pub trait Foo {
|
||||
/**
|
||||
|
@ -1,6 +1,6 @@
|
||||
// compile-flags:--test
|
||||
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
|
||||
// build-pass
|
||||
// check-pass
|
||||
|
||||
#![no_std]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
// This test purpose is to check that unused_imports lint isn't fired
|
||||
// by rustdoc. Why would it? Because when rustdoc is running, it uses
|
||||
|
Loading…
Reference in New Issue
Block a user