diff --git a/src/test/rustdoc-ui/doctest-edition.stderr b/src/test/rustdoc-ui/doctest-edition.stderr
index 1643d605375a1..019f259288cbf 100644
--- a/src/test/rustdoc-ui/doctest-edition.stderr
+++ b/src/test/rustdoc-ui/doctest-edition.stderr
@@ -16,7 +16,7 @@ LL | #![deny(rustdoc::invalid_rust_codeblocks)]
 help: mark blocks that do not contain Rust code as text
    |
 LL | //! ```text
-   |        ++++
+   |     ~~~~~~~
 
 error: aborting due to previous error