diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-07-03 18:46:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-03 18:46:14 +0200 |
| commit | ef21fd57c545bf2fdc69f431d2ff73c841b361f1 (patch) | |
| tree | d06dd3c7d30de688357d1ed90168b86218be834e /tests/rustdoc-gui/src/test_docs | |
| parent | 4668d3e737bad1a250500a77ba529d2006f1dd47 (diff) | |
| parent | 9d130582ab00195d4bc07c1cc7bcbcefd46e779c (diff) | |
| download | rust-ef21fd57c545bf2fdc69f431d2ff73c841b361f1.tar.gz rust-ef21fd57c545bf2fdc69f431d2ff73c841b361f1.zip | |
Rollup merge of #113285 - GuillaumeGomez:display-long-inline-cfg, r=notriddle
[rustdoc] Fix display of long inline cfg labels Fixes #87957. Fixes #112880. Before:  After:  r? `@notriddle`
Diffstat (limited to 'tests/rustdoc-gui/src/test_docs')
| -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 {} +} |
