]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/pub-export-lint.stderr
Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebank
[rust.git] / src / test / rustdoc-ui / pub-export-lint.stderr
index c6be9c6a9f504a39ed7183128b1545623ed02de7..81ef799617ccdde9d7088b113c3cdafc97bec3bc 100644 (file)
@@ -4,12 +4,12 @@ error: unresolved link to `aloha`
 LL | /// [aloha]
    |      ^^^^^ no item named `aloha` in scope
    |
+   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
 note: the lint level is defined here
   --> $DIR/pub-export-lint.rs:1:9
    |
 LL | #![deny(rustdoc::broken_intra_doc_links)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
 
 error: aborting due to previous error