about summary refs log tree commit diff
path: root/tests/rustdoc/private-non-local-fields-2.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 16:34:16 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 17:47:18 +0200
commiteee6c9753588fe1888d3ddb264f9516e7ac56997 (patch)
tree620f9abcdba83b6e7a6288b0f4400683949d2076 /tests/rustdoc/private-non-local-fields-2.rs
parenta00b39961a9b45c788b86ef9f874d886f5403280 (diff)
downloadrust-eee6c9753588fe1888d3ddb264f9516e7ac56997.tar.gz
rust-eee6c9753588fe1888d3ddb264f9516e7ac56997.zip
Created `tests/rustdoc/private` subfolder to limit number of files at the top level
Diffstat (limited to 'tests/rustdoc/private-non-local-fields-2.rs')
-rw-r--r--tests/rustdoc/private-non-local-fields-2.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/rustdoc/private-non-local-fields-2.rs b/tests/rustdoc/private-non-local-fields-2.rs
deleted file mode 100644
index f2d3530c088..00000000000
--- a/tests/rustdoc/private-non-local-fields-2.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-//! This test makes sure that with never show the inner fields in the
-//! aliased type view of type alias.
-
-//@ compile-flags: -Z unstable-options --document-private-items
-
-#![crate_name = "foo"]
-
-use std::collections::BTreeMap;
-
-//@ has 'foo/type.FooBar.html' '//*[@class="rust item-decl"]/code' 'struct FooBar { /* private fields */ }'
-pub type FooBar = BTreeMap<u32, String>;