about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-09-29 11:42:04 +0900
committerGitHub <noreply@github.com>2022-09-29 11:42:04 +0900
commit19e84b91e564eea334691ea064a742b32598d6f9 (patch)
tree57efe81562d81ab03908644c1a335eca54c4bbc9 /src/test/ui/error-codes
parent852a152206baf8e0c405fcd38b46eb3ea0d94087 (diff)
parent2ee2ffa9a7266b9a3b3b9fe599fde651cdd94ba6 (diff)
downloadrust-19e84b91e564eea334691ea064a742b32598d6f9.tar.gz
rust-19e84b91e564eea334691ea064a742b32598d6f9.zip
Rollup merge of #102351 - Rageking8:improve-E0585, r=wesleywiser
Improve E0585 help
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0585.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0585.stderr b/src/test/ui/error-codes/E0585.stderr
index 7a31c4896ee..53c82fb416b 100644
--- a/src/test/ui/error-codes/E0585.stderr
+++ b/src/test/ui/error-codes/E0585.stderr
@@ -4,7 +4,7 @@ error[E0585]: found a documentation comment that doesn't document anything
 LL |     /// Hello! I'm useless...
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
-   = help: doc comments must come before what they document, maybe a comment was intended with `//`?
+   = help: doc comments must come before what they document, if a comment was intended use `//`
 
 error: aborting due to previous error