about summary refs log tree commit diff
path: root/tests/rustdoc/decl_macro_priv.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 16:40:02 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 17:47:18 +0200
commitd1f4a0bcb60ab868c496ca72a28b48ac0a4128af (patch)
tree5f9dc3dd1df27f8d4a2f7f06950943cc4ab3cc5c /tests/rustdoc/decl_macro_priv.rs
parenteee6c9753588fe1888d3ddb264f9516e7ac56997 (diff)
downloadrust-d1f4a0bcb60ab868c496ca72a28b48ac0a4128af.tar.gz
rust-d1f4a0bcb60ab868c496ca72a28b48ac0a4128af.zip
Created `tests/rustdoc/macro` subfolder to limit number of files at the top level
Diffstat (limited to 'tests/rustdoc/decl_macro_priv.rs')
-rw-r--r--tests/rustdoc/decl_macro_priv.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/rustdoc/decl_macro_priv.rs b/tests/rustdoc/decl_macro_priv.rs
deleted file mode 100644
index d87c8d22f2d..00000000000
--- a/tests/rustdoc/decl_macro_priv.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-//@ compile-flags: --document-private-items
-
-#![feature(decl_macro)]
-
-//@ has decl_macro_priv/macro.crate_macro.html //pre 'pub(crate) macro crate_macro() {'
-//@ has - //pre '...'
-//@ has - //pre '}'
-pub(crate) macro crate_macro() {}
-
-//@ has decl_macro_priv/macro.priv_macro.html //pre 'macro priv_macro() {'
-//@ !has - //pre 'pub macro priv_macro() {'
-//@ has - //pre '...'
-//@ has - //pre '}'
-macro priv_macro() {}