about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-09-27 16:08:04 +0800
committerRageking8 <tomleetyt@gmail.com>2022-09-29 00:34:31 +0800
commit2ee2ffa9a7266b9a3b3b9fe599fde651cdd94ba6 (patch)
tree7784376bc55e75c6599eed0535ffc7dae52652ce /src/test/ui/error-codes
parent09ae7846a272a500ff7145255f0de5556c0b8949 (diff)
downloadrust-2ee2ffa9a7266b9a3b3b9fe599fde651cdd94ba6.tar.gz
rust-2ee2ffa9a7266b9a3b3b9fe599fde651cdd94ba6.zip
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