From e14e19a67dcdd7437b29bd37b4aa1fde3e5fecee Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 5 May 2025 17:30:40 +0200 Subject: [PATCH] Created `tests/rustdoc/extern` subfolder to limit number of files at the top level --- tests/rustdoc/extern/auxiliary/empty.rs | 1 + tests/rustdoc/{ => extern}/auxiliary/extern-links.rs | 0 tests/rustdoc/{ => extern}/auxiliary/external-cross-doc.md | 0 tests/rustdoc/{ => extern}/auxiliary/external-cross.rs | 0 tests/rustdoc/{ => extern}/auxiliary/external-doc.md | 0 tests/rustdoc/{ => extern}/auxiliary/html_root.rs | 0 tests/rustdoc/{ => extern}/auxiliary/issue-30109-1.rs | 0 tests/rustdoc/{ => extern}/auxiliary/no_html_root.rs | 0 tests/rustdoc/{ => extern}/auxiliary/panic-item.rs | 0 tests/rustdoc/{ => extern}/auxiliary/pub-extern-crate.rs | 0 .../{ => extern}/auxiliary/rustdoc-extern-default-method.rs | 0 .../rustdoc/{ => extern}/auxiliary/rustdoc-extern-method.rs | 0 tests/rustdoc/extern/auxiliary/variant-struct.rs | 5 +++++ .../extern-default-method.no_href_on_anchor.html | 0 tests/rustdoc/{ => extern}/extern-default-method.rs | 0 tests/rustdoc/{ => extern}/extern-fn-22038.rs | 0 .../rustdoc/{ => extern}/extern-html-root-url-precedence.rs | 0 tests/rustdoc/{ => extern}/extern-html-root-url.rs | 0 tests/rustdoc/{ => extern}/extern-links.rs | 0 tests/rustdoc/{ => extern}/extern-method.rs | 0 tests/rustdoc/{ => extern}/external-cross.rs | 0 tests/rustdoc/{ => extern}/external-doc.rs | 0 tests/rustdoc/{ => extern}/hidden-extern-34025.rs | 0 tests/rustdoc/{ => extern}/link-extern-crate-33178.rs | 0 tests/rustdoc/{ => extern}/link-extern-crate-item-30109.rs | 0 tests/rustdoc/{ => extern}/link-extern-crate-title-33178.rs | 0 tests/rustdoc/{ => extern}/pub-extern-crate.rs | 0 tests/rustdoc/{ => extern}/unsafe-extern-blocks.rs | 0 tests/rustdoc/{ => extern}/unused-extern-crate.rs | 0 29 files changed, 6 insertions(+) create mode 100644 tests/rustdoc/extern/auxiliary/empty.rs rename tests/rustdoc/{ => extern}/auxiliary/extern-links.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/external-cross-doc.md (100%) rename tests/rustdoc/{ => extern}/auxiliary/external-cross.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/external-doc.md (100%) rename tests/rustdoc/{ => extern}/auxiliary/html_root.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/issue-30109-1.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/no_html_root.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/panic-item.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/pub-extern-crate.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/rustdoc-extern-default-method.rs (100%) rename tests/rustdoc/{ => extern}/auxiliary/rustdoc-extern-method.rs (100%) create mode 100644 tests/rustdoc/extern/auxiliary/variant-struct.rs rename tests/rustdoc/{anchors => extern}/extern-default-method.no_href_on_anchor.html (100%) rename tests/rustdoc/{ => extern}/extern-default-method.rs (100%) rename tests/rustdoc/{ => extern}/extern-fn-22038.rs (100%) rename tests/rustdoc/{ => extern}/extern-html-root-url-precedence.rs (100%) rename tests/rustdoc/{ => extern}/extern-html-root-url.rs (100%) rename tests/rustdoc/{ => extern}/extern-links.rs (100%) rename tests/rustdoc/{ => extern}/extern-method.rs (100%) rename tests/rustdoc/{ => extern}/external-cross.rs (100%) rename tests/rustdoc/{ => extern}/external-doc.rs (100%) rename tests/rustdoc/{ => extern}/hidden-extern-34025.rs (100%) rename tests/rustdoc/{ => extern}/link-extern-crate-33178.rs (100%) rename tests/rustdoc/{ => extern}/link-extern-crate-item-30109.rs (100%) rename tests/rustdoc/{ => extern}/link-extern-crate-title-33178.rs (100%) rename tests/rustdoc/{ => extern}/pub-extern-crate.rs (100%) rename tests/rustdoc/{ => extern}/unsafe-extern-blocks.rs (100%) rename tests/rustdoc/{ => extern}/unused-extern-crate.rs (100%) diff --git a/tests/rustdoc/extern/auxiliary/empty.rs b/tests/rustdoc/extern/auxiliary/empty.rs new file mode 100644 index 000000000000..d11c69f812a8 --- /dev/null +++ b/tests/rustdoc/extern/auxiliary/empty.rs @@ -0,0 +1 @@ +// intentionally empty diff --git a/tests/rustdoc/auxiliary/extern-links.rs b/tests/rustdoc/extern/auxiliary/extern-links.rs similarity index 100% rename from tests/rustdoc/auxiliary/extern-links.rs rename to tests/rustdoc/extern/auxiliary/extern-links.rs diff --git a/tests/rustdoc/auxiliary/external-cross-doc.md b/tests/rustdoc/extern/auxiliary/external-cross-doc.md similarity index 100% rename from tests/rustdoc/auxiliary/external-cross-doc.md rename to tests/rustdoc/extern/auxiliary/external-cross-doc.md diff --git a/tests/rustdoc/auxiliary/external-cross.rs b/tests/rustdoc/extern/auxiliary/external-cross.rs similarity index 100% rename from tests/rustdoc/auxiliary/external-cross.rs rename to tests/rustdoc/extern/auxiliary/external-cross.rs diff --git a/tests/rustdoc/auxiliary/external-doc.md b/tests/rustdoc/extern/auxiliary/external-doc.md similarity index 100% rename from tests/rustdoc/auxiliary/external-doc.md rename to tests/rustdoc/extern/auxiliary/external-doc.md diff --git a/tests/rustdoc/auxiliary/html_root.rs b/tests/rustdoc/extern/auxiliary/html_root.rs similarity index 100% rename from tests/rustdoc/auxiliary/html_root.rs rename to tests/rustdoc/extern/auxiliary/html_root.rs diff --git a/tests/rustdoc/auxiliary/issue-30109-1.rs b/tests/rustdoc/extern/auxiliary/issue-30109-1.rs similarity index 100% rename from tests/rustdoc/auxiliary/issue-30109-1.rs rename to tests/rustdoc/extern/auxiliary/issue-30109-1.rs diff --git a/tests/rustdoc/auxiliary/no_html_root.rs b/tests/rustdoc/extern/auxiliary/no_html_root.rs similarity index 100% rename from tests/rustdoc/auxiliary/no_html_root.rs rename to tests/rustdoc/extern/auxiliary/no_html_root.rs diff --git a/tests/rustdoc/auxiliary/panic-item.rs b/tests/rustdoc/extern/auxiliary/panic-item.rs similarity index 100% rename from tests/rustdoc/auxiliary/panic-item.rs rename to tests/rustdoc/extern/auxiliary/panic-item.rs diff --git a/tests/rustdoc/auxiliary/pub-extern-crate.rs b/tests/rustdoc/extern/auxiliary/pub-extern-crate.rs similarity index 100% rename from tests/rustdoc/auxiliary/pub-extern-crate.rs rename to tests/rustdoc/extern/auxiliary/pub-extern-crate.rs diff --git a/tests/rustdoc/auxiliary/rustdoc-extern-default-method.rs b/tests/rustdoc/extern/auxiliary/rustdoc-extern-default-method.rs similarity index 100% rename from tests/rustdoc/auxiliary/rustdoc-extern-default-method.rs rename to tests/rustdoc/extern/auxiliary/rustdoc-extern-default-method.rs diff --git a/tests/rustdoc/auxiliary/rustdoc-extern-method.rs b/tests/rustdoc/extern/auxiliary/rustdoc-extern-method.rs similarity index 100% rename from tests/rustdoc/auxiliary/rustdoc-extern-method.rs rename to tests/rustdoc/extern/auxiliary/rustdoc-extern-method.rs diff --git a/tests/rustdoc/extern/auxiliary/variant-struct.rs b/tests/rustdoc/extern/auxiliary/variant-struct.rs new file mode 100644 index 000000000000..0f3d2e5f1b7a --- /dev/null +++ b/tests/rustdoc/extern/auxiliary/variant-struct.rs @@ -0,0 +1,5 @@ +pub enum Foo { + Bar { + qux: (), + } +} diff --git a/tests/rustdoc/anchors/extern-default-method.no_href_on_anchor.html b/tests/rustdoc/extern/extern-default-method.no_href_on_anchor.html similarity index 100% rename from tests/rustdoc/anchors/extern-default-method.no_href_on_anchor.html rename to tests/rustdoc/extern/extern-default-method.no_href_on_anchor.html diff --git a/tests/rustdoc/extern-default-method.rs b/tests/rustdoc/extern/extern-default-method.rs similarity index 100% rename from tests/rustdoc/extern-default-method.rs rename to tests/rustdoc/extern/extern-default-method.rs diff --git a/tests/rustdoc/extern-fn-22038.rs b/tests/rustdoc/extern/extern-fn-22038.rs similarity index 100% rename from tests/rustdoc/extern-fn-22038.rs rename to tests/rustdoc/extern/extern-fn-22038.rs diff --git a/tests/rustdoc/extern-html-root-url-precedence.rs b/tests/rustdoc/extern/extern-html-root-url-precedence.rs similarity index 100% rename from tests/rustdoc/extern-html-root-url-precedence.rs rename to tests/rustdoc/extern/extern-html-root-url-precedence.rs diff --git a/tests/rustdoc/extern-html-root-url.rs b/tests/rustdoc/extern/extern-html-root-url.rs similarity index 100% rename from tests/rustdoc/extern-html-root-url.rs rename to tests/rustdoc/extern/extern-html-root-url.rs diff --git a/tests/rustdoc/extern-links.rs b/tests/rustdoc/extern/extern-links.rs similarity index 100% rename from tests/rustdoc/extern-links.rs rename to tests/rustdoc/extern/extern-links.rs diff --git a/tests/rustdoc/extern-method.rs b/tests/rustdoc/extern/extern-method.rs similarity index 100% rename from tests/rustdoc/extern-method.rs rename to tests/rustdoc/extern/extern-method.rs diff --git a/tests/rustdoc/external-cross.rs b/tests/rustdoc/extern/external-cross.rs similarity index 100% rename from tests/rustdoc/external-cross.rs rename to tests/rustdoc/extern/external-cross.rs diff --git a/tests/rustdoc/external-doc.rs b/tests/rustdoc/extern/external-doc.rs similarity index 100% rename from tests/rustdoc/external-doc.rs rename to tests/rustdoc/extern/external-doc.rs diff --git a/tests/rustdoc/hidden-extern-34025.rs b/tests/rustdoc/extern/hidden-extern-34025.rs similarity index 100% rename from tests/rustdoc/hidden-extern-34025.rs rename to tests/rustdoc/extern/hidden-extern-34025.rs diff --git a/tests/rustdoc/link-extern-crate-33178.rs b/tests/rustdoc/extern/link-extern-crate-33178.rs similarity index 100% rename from tests/rustdoc/link-extern-crate-33178.rs rename to tests/rustdoc/extern/link-extern-crate-33178.rs diff --git a/tests/rustdoc/link-extern-crate-item-30109.rs b/tests/rustdoc/extern/link-extern-crate-item-30109.rs similarity index 100% rename from tests/rustdoc/link-extern-crate-item-30109.rs rename to tests/rustdoc/extern/link-extern-crate-item-30109.rs diff --git a/tests/rustdoc/link-extern-crate-title-33178.rs b/tests/rustdoc/extern/link-extern-crate-title-33178.rs similarity index 100% rename from tests/rustdoc/link-extern-crate-title-33178.rs rename to tests/rustdoc/extern/link-extern-crate-title-33178.rs diff --git a/tests/rustdoc/pub-extern-crate.rs b/tests/rustdoc/extern/pub-extern-crate.rs similarity index 100% rename from tests/rustdoc/pub-extern-crate.rs rename to tests/rustdoc/extern/pub-extern-crate.rs diff --git a/tests/rustdoc/unsafe-extern-blocks.rs b/tests/rustdoc/extern/unsafe-extern-blocks.rs similarity index 100% rename from tests/rustdoc/unsafe-extern-blocks.rs rename to tests/rustdoc/extern/unsafe-extern-blocks.rs diff --git a/tests/rustdoc/unused-extern-crate.rs b/tests/rustdoc/extern/unused-extern-crate.rs similarity index 100% rename from tests/rustdoc/unused-extern-crate.rs rename to tests/rustdoc/extern/unused-extern-crate.rs