about summary refs log tree commit diff
path: root/tests/rustdoc-gui/src/test_docs/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/src/test_docs/lib.rs')
-rw-r--r--tests/rustdoc-gui/src/test_docs/lib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/test_docs/lib.rs b/tests/rustdoc-gui/src/test_docs/lib.rs
index c040fa02dff..ecf3a7cc147 100644
--- a/tests/rustdoc-gui/src/test_docs/lib.rs
+++ b/tests/rustdoc-gui/src/test_docs/lib.rs
@@ -507,3 +507,12 @@ pub mod fields {
         },
     }
 }
+
+pub mod cfgs {
+    #[doc(cfg(all(
+        any(not(feature = "appservice-api-c"), not(feature = "appservice-api-s")),
+        any(not(feature = "client"), not(feature = "server")),
+    )))]
+    /// Some docs.
+    pub mod cfgs {}
+}