diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 6e673aa77c5..665bb5d42bc 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1367,6 +1367,9 @@ documentation. */
font-weight: bold;
font-size: 1.25rem;
}
+.top-doc > .docblock >.warning:first-child::before {
+ top: 20px;
+}
a.test-arrow {
visibility: hidden;