Rollup merge of #82800 - jyn514:group-rustdoc-tests, r=Mark-Simulacrum

Move rustdoc UI tests into a subdirectory

Helps with https://github.com/rust-lang/rust/issues/73494.
This commit is contained in:
Mara Bos 2021-03-08 20:08:59 +01:00 committed by GitHub
commit 5ff52cbdb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
This directory is for tests that have to do with rustdoc, but test the behavior
of rustc. For example, rustc should not warn that an attribute rustdoc uses is
unknown.

View File

@ -7,7 +7,7 @@ use std::path::Path;
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 1418;
const ROOT_ENTRY_LIMIT: usize = 1408;
const ISSUES_ENTRY_LIMIT: usize = 2565;
fn check_entries(path: &Path, bad: &mut bool) {