diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-12-24 19:24:04 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-12-24 19:24:04 +0100 |
| commit | 98b71bf345e682d5c50277ced28e77d33e1794cb (patch) | |
| tree | 5b3dcd1dd538e850bbcdfb424752ec5caea515f5 /tests/rustdoc-gui/src/test_docs/lib.rs | |
| parent | 279b11c4b50236647c1f6cb11329bfd74dba476e (diff) | |
| download | rust-98b71bf345e682d5c50277ced28e77d33e1794cb.tar.gz rust-98b71bf345e682d5c50277ced28e77d33e1794cb.zip | |
Add GUI regression test for position of warning block
Diffstat (limited to 'tests/rustdoc-gui/src/test_docs/lib.rs')
| -rw-r--r-- | tests/rustdoc-gui/src/test_docs/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/test_docs/lib.rs b/tests/rustdoc-gui/src/test_docs/lib.rs index 0bc777230bf..7e34178e56f 100644 --- a/tests/rustdoc-gui/src/test_docs/lib.rs +++ b/tests/rustdoc-gui/src/test_docs/lib.rs @@ -85,6 +85,9 @@ impl AsRef<str> for Foo { } } +/// <div id="doc-warning-0" class="warning">I have warnings!</div> +pub struct WarningStruct; + /// Just a normal enum. /// /// # title! |
