improve E0585 help
This commit is contained in:
parent
09ae7846a2
commit
2ee2ffa9a7
19 changed files with 22 additions and 22 deletions
|
@ -760,8 +760,8 @@ impl<'a> Parser<'a> {
|
|||
)
|
||||
.span_label(self.token.span, "this doc comment doesn't document anything")
|
||||
.help(
|
||||
"doc comments must come before what they document, maybe a \
|
||||
comment was intended with `//`?",
|
||||
"doc comments must come before what they document, if a comment was \
|
||||
intended use `//`",
|
||||
)
|
||||
.emit();
|
||||
self.bump();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue