diff options
| author | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-03-11 21:26:06 +0900 |
|---|---|---|
| committer | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-03-11 21:26:06 +0900 |
| commit | 813f00dd4fa52eda78bf6b96a3f7bdd82e0d82ae (patch) | |
| tree | b7b94236f134dcf3cb96186661799bc04605e231 /compiler/rustc_parse/src/parser/item.rs | |
| parent | bdc317786856c3a49dfa9a35a25037ce1872440e (diff) | |
| download | rust-813f00dd4fa52eda78bf6b96a3f7bdd82e0d82ae.tar.gz rust-813f00dd4fa52eda78bf6b96a3f7bdd82e0d82ae.zip | |
fix a suggestion message
Diffstat (limited to 'compiler/rustc_parse/src/parser/item.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs index 423ce7c354c..ec89301c1e2 100644 --- a/compiler/rustc_parse/src/parser/item.rs +++ b/compiler/rustc_parse/src/parser/item.rs @@ -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, ) |
