From e66de455197cba33f788832a245b04e1064061db Mon Sep 17 00:00:00 2001 From: Caio Date: Sat, 12 Nov 2022 09:51:53 -0300 Subject: [PATCH 1/2] Move tests --- src/test/ui/{issues => enum-discriminant}/issue-46519.rs | 0 .../issue-36139-normalize-closure-sig.rs | 0 src/test/ui/{issues => higher-rank-trait-bounds}/issue-43623.rs | 0 src/test/ui/{issues => pattern}/issue-52240.rs | 0 src/test/ui/{issues => pattern}/issue-52240.stderr | 0 src/test/ui/{issues => privacy}/auxiliary/issue-75907.rs | 0 src/test/ui/{issues => privacy}/issue-75907.rs | 0 src/test/ui/{issues => privacy}/issue-75907.stderr | 0 src/test/ui/{issues => privacy}/issue-75907_b.rs | 0 src/test/ui/{issues => privacy}/issue-75907_b.stderr | 0 src/test/ui/{issues => regions}/issue-11612.rs | 0 src/test/ui/{issues => resolve}/issue-35675.rs | 0 src/test/ui/{issues => resolve}/issue-35675.stderr | 0 src/test/ui/{issues => resolve}/issue-5927.rs | 0 src/test/ui/{issues => resolve}/issue-5927.stderr | 0 src/test/ui/{issues => static}/issue-5216.rs | 0 src/test/ui/{issues => static}/issue-5216.stderr | 0 src/test/ui/{issues => traits}/issue-7013.rs | 0 src/test/ui/{issues => traits}/issue-7013.stderr | 0 19 files changed, 0 insertions(+), 0 deletions(-) rename src/test/ui/{issues => enum-discriminant}/issue-46519.rs (100%) rename src/test/ui/{issues => higher-rank-trait-bounds}/issue-36139-normalize-closure-sig.rs (100%) rename src/test/ui/{issues => higher-rank-trait-bounds}/issue-43623.rs (100%) rename src/test/ui/{issues => pattern}/issue-52240.rs (100%) rename src/test/ui/{issues => pattern}/issue-52240.stderr (100%) rename src/test/ui/{issues => privacy}/auxiliary/issue-75907.rs (100%) rename src/test/ui/{issues => privacy}/issue-75907.rs (100%) rename src/test/ui/{issues => privacy}/issue-75907.stderr (100%) rename src/test/ui/{issues => privacy}/issue-75907_b.rs (100%) rename src/test/ui/{issues => privacy}/issue-75907_b.stderr (100%) rename src/test/ui/{issues => regions}/issue-11612.rs (100%) rename src/test/ui/{issues => resolve}/issue-35675.rs (100%) rename src/test/ui/{issues => resolve}/issue-35675.stderr (100%) rename src/test/ui/{issues => resolve}/issue-5927.rs (100%) rename src/test/ui/{issues => resolve}/issue-5927.stderr (100%) rename src/test/ui/{issues => static}/issue-5216.rs (100%) rename src/test/ui/{issues => static}/issue-5216.stderr (100%) rename src/test/ui/{issues => traits}/issue-7013.rs (100%) rename src/test/ui/{issues => traits}/issue-7013.stderr (100%) diff --git a/src/test/ui/issues/issue-46519.rs b/src/test/ui/enum-discriminant/issue-46519.rs similarity index 100% rename from src/test/ui/issues/issue-46519.rs rename to src/test/ui/enum-discriminant/issue-46519.rs diff --git a/src/test/ui/issues/issue-36139-normalize-closure-sig.rs b/src/test/ui/higher-rank-trait-bounds/issue-36139-normalize-closure-sig.rs similarity index 100% rename from src/test/ui/issues/issue-36139-normalize-closure-sig.rs rename to src/test/ui/higher-rank-trait-bounds/issue-36139-normalize-closure-sig.rs diff --git a/src/test/ui/issues/issue-43623.rs b/src/test/ui/higher-rank-trait-bounds/issue-43623.rs similarity index 100% rename from src/test/ui/issues/issue-43623.rs rename to src/test/ui/higher-rank-trait-bounds/issue-43623.rs diff --git a/src/test/ui/issues/issue-52240.rs b/src/test/ui/pattern/issue-52240.rs similarity index 100% rename from src/test/ui/issues/issue-52240.rs rename to src/test/ui/pattern/issue-52240.rs diff --git a/src/test/ui/issues/issue-52240.stderr b/src/test/ui/pattern/issue-52240.stderr similarity index 100% rename from src/test/ui/issues/issue-52240.stderr rename to src/test/ui/pattern/issue-52240.stderr diff --git a/src/test/ui/issues/auxiliary/issue-75907.rs b/src/test/ui/privacy/auxiliary/issue-75907.rs similarity index 100% rename from src/test/ui/issues/auxiliary/issue-75907.rs rename to src/test/ui/privacy/auxiliary/issue-75907.rs diff --git a/src/test/ui/issues/issue-75907.rs b/src/test/ui/privacy/issue-75907.rs similarity index 100% rename from src/test/ui/issues/issue-75907.rs rename to src/test/ui/privacy/issue-75907.rs diff --git a/src/test/ui/issues/issue-75907.stderr b/src/test/ui/privacy/issue-75907.stderr similarity index 100% rename from src/test/ui/issues/issue-75907.stderr rename to src/test/ui/privacy/issue-75907.stderr diff --git a/src/test/ui/issues/issue-75907_b.rs b/src/test/ui/privacy/issue-75907_b.rs similarity index 100% rename from src/test/ui/issues/issue-75907_b.rs rename to src/test/ui/privacy/issue-75907_b.rs diff --git a/src/test/ui/issues/issue-75907_b.stderr b/src/test/ui/privacy/issue-75907_b.stderr similarity index 100% rename from src/test/ui/issues/issue-75907_b.stderr rename to src/test/ui/privacy/issue-75907_b.stderr diff --git a/src/test/ui/issues/issue-11612.rs b/src/test/ui/regions/issue-11612.rs similarity index 100% rename from src/test/ui/issues/issue-11612.rs rename to src/test/ui/regions/issue-11612.rs diff --git a/src/test/ui/issues/issue-35675.rs b/src/test/ui/resolve/issue-35675.rs similarity index 100% rename from src/test/ui/issues/issue-35675.rs rename to src/test/ui/resolve/issue-35675.rs diff --git a/src/test/ui/issues/issue-35675.stderr b/src/test/ui/resolve/issue-35675.stderr similarity index 100% rename from src/test/ui/issues/issue-35675.stderr rename to src/test/ui/resolve/issue-35675.stderr diff --git a/src/test/ui/issues/issue-5927.rs b/src/test/ui/resolve/issue-5927.rs similarity index 100% rename from src/test/ui/issues/issue-5927.rs rename to src/test/ui/resolve/issue-5927.rs diff --git a/src/test/ui/issues/issue-5927.stderr b/src/test/ui/resolve/issue-5927.stderr similarity index 100% rename from src/test/ui/issues/issue-5927.stderr rename to src/test/ui/resolve/issue-5927.stderr diff --git a/src/test/ui/issues/issue-5216.rs b/src/test/ui/static/issue-5216.rs similarity index 100% rename from src/test/ui/issues/issue-5216.rs rename to src/test/ui/static/issue-5216.rs diff --git a/src/test/ui/issues/issue-5216.stderr b/src/test/ui/static/issue-5216.stderr similarity index 100% rename from src/test/ui/issues/issue-5216.stderr rename to src/test/ui/static/issue-5216.stderr diff --git a/src/test/ui/issues/issue-7013.rs b/src/test/ui/traits/issue-7013.rs similarity index 100% rename from src/test/ui/issues/issue-7013.rs rename to src/test/ui/traits/issue-7013.rs diff --git a/src/test/ui/issues/issue-7013.stderr b/src/test/ui/traits/issue-7013.stderr similarity index 100% rename from src/test/ui/issues/issue-7013.stderr rename to src/test/ui/traits/issue-7013.stderr From f800edf23603223dc18410f8da0dce259f31c74b Mon Sep 17 00:00:00 2001 From: Caio Date: Sat, 12 Nov 2022 09:54:06 -0300 Subject: [PATCH 2/2] Tidy --- src/tools/tidy/src/ui_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/tidy/src/ui_tests.rs b/src/tools/tidy/src/ui_tests.rs index 2b82e9b3f998c..21c6a96747eef 100644 --- a/src/tools/tidy/src/ui_tests.rs +++ b/src/tools/tidy/src/ui_tests.rs @@ -10,7 +10,7 @@ use std::path::Path; const ENTRY_LIMIT: usize = 1000; // FIXME: The following limits should be reduced eventually. const ROOT_ENTRY_LIMIT: usize = 939; -const ISSUES_ENTRY_LIMIT: usize = 2105; +const ISSUES_ENTRY_LIMIT: usize = 2085; fn check_entries(path: &Path, bad: &mut bool) { for dir in Walk::new(&path.join("test/ui")) {