diff options
| author | Rageking8 <tomleetyt@gmail.com> | 2022-09-27 16:08:04 +0800 |
|---|---|---|
| committer | Rageking8 <tomleetyt@gmail.com> | 2022-09-29 00:34:31 +0800 |
| commit | 2ee2ffa9a7266b9a3b3b9fe599fde651cdd94ba6 (patch) | |
| tree | 7784376bc55e75c6599eed0535ffc7dae52652ce /src/test/ui/parser/issues | |
| parent | 09ae7846a272a500ff7145255f0de5556c0b8949 (diff) | |
improve E0585 help
Diffstat (limited to 'src/test/ui/parser/issues')
| -rw-r--r-- | src/test/ui/parser/issues/issue-34222-1.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/parser/issues/issue-48636.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/parser/issues/issue-34222-1.stderr b/src/test/ui/parser/issues/issue-34222-1.stderr index 0799656b06b..b451484ba22 100644 --- a/src/test/ui/parser/issues/issue-34222-1.stderr +++ b/src/test/ui/parser/issues/issue-34222-1.stderr @@ -4,7 +4,7 @@ error[E0585]: found a documentation comment that doesn't document anything LL | /// comment | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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 diff --git a/src/test/ui/parser/issues/issue-48636.stderr b/src/test/ui/parser/issues/issue-48636.stderr index 1a6e4cfd2b2..6177870d1ce 100644 --- a/src/test/ui/parser/issues/issue-48636.stderr +++ b/src/test/ui/parser/issues/issue-48636.stderr @@ -8,7 +8,7 @@ LL | x: u8 LL | /// The ID of the parent core | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = 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 |
