diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-07-03 13:26:28 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-07-03 13:26:40 +0200 |
| commit | 9d130582ab00195d4bc07c1cc7bcbcefd46e779c (patch) | |
| tree | b3c6c75430d9ee8639cf3d575e2e5465793d0bc4 /tests/rustdoc-gui/src/test_docs/lib.rs | |
| parent | 75cc2b8e8ceadca1672594a7e2056eade5da951d (diff) | |
| download | rust-9d130582ab00195d4bc07c1cc7bcbcefd46e779c.tar.gz rust-9d130582ab00195d4bc07c1cc7bcbcefd46e779c.zip | |
Add GUI test for long inline cfg labels display
Diffstat (limited to 'tests/rustdoc-gui/src/test_docs/lib.rs')
| -rw-r--r-- | tests/rustdoc-gui/src/test_docs/lib.rs | 9 |
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 {} +} |
