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:
Dylan DPC 2020-04-22 12:18:36 +02:00 committed by GitHub
commit e7c5334a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 19 additions and 19 deletions

View File

@ -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"

View File

@ -1,5 +1,5 @@
// compile-flags:-Z unstable-options --show-coverage
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
#![feature(extern_types)]

View File

@ -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

View File

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

View File

@ -1,5 +1,5 @@
// compile-flags:-Z unstable-options --show-coverage
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
#![feature(doc_keyword)]

View File

@ -1,4 +1,4 @@
// build-pass
// check-pass
// compile-flags:-Z unstable-options --output-format json --show-coverage
pub mod foo {

View File

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

View File

@ -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

View File

@ -1,5 +1,5 @@
// compile-flags:-Z unstable-options --show-coverage
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
#![feature(trait_alias)]

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
#![doc(no_default_passes, passes = "collapse-docs unindent-comments")]

View File

@ -1,4 +1,4 @@
// build-pass
// check-pass
// compile-flags:--test
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"

View File

@ -1,4 +1,4 @@
// build-pass
// check-pass
// compile-flags:--test
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"

View File

@ -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.

View File

@ -1,4 +1,4 @@
// build-pass
// check-pass
//! Test with [Foo::baz], [Bar::foo], ...
//~^ WARNING `[Foo::baz]` cannot be resolved

View File

@ -1,4 +1,4 @@
// build-pass
// check-pass
/// ```
/// \__________pkt->size___________/ \_result->size_/ \__pkt->size__/

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
#![deny(private_doc_tests)]

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
pub trait Foo {
/**

View File

@ -1,6 +1,6 @@
// compile-flags:--test
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
// build-pass
// check-pass
#![no_std]

View File

@ -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