From 9d130582ab00195d4bc07c1cc7bcbcefd46e779c Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 3 Jul 2023 13:26:28 +0200 Subject: Add GUI test for long inline cfg labels display --- tests/rustdoc-gui/src/test_docs/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/rustdoc-gui/src/test_docs') 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 {} +} -- cgit 1.4.1-3-g733a5