From 98b71bf345e682d5c50277ced28e77d33e1794cb Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 24 Dec 2023 19:24:04 +0100 Subject: Add GUI regression test for position of warning block --- tests/rustdoc-gui/src/test_docs/lib.rs | 3 +++ 1 file changed, 3 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 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 for Foo { } } +///
I have warnings!
+pub struct WarningStruct; + /// Just a normal enum. /// /// # title! -- cgit 1.4.1-3-g733a5