fix a suggestion message
This commit is contained in:
parent
bdc3177868
commit
813f00dd4f
3 changed files with 7 additions and 7 deletions
|
@ -1538,7 +1538,7 @@ impl<'a> Parser<'a> {
|
|||
self.struct_span_err(self.token.span, "found single colon in a struct field type path")
|
||||
.span_suggestion_verbose(
|
||||
self.token.span,
|
||||
"maybe you meant to write a path separator here",
|
||||
"write a path separator here",
|
||||
"::".to_string(),
|
||||
Applicability::MaybeIncorrect,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue