about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_parse/src/parser')
-rw-r--r--compiler/rustc_parse/src/parser/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs
index 5b398a51318..21d5bec65f0 100644
--- a/compiler/rustc_parse/src/parser/diagnostics.rs
+++ b/compiler/rustc_parse/src/parser/diagnostics.rs
@@ -2080,7 +2080,7 @@ impl<'a> Parser<'a> {
                     // Find a mistake like "foo::var:A".
                     err.span_suggestion(
                         snapshot.token.span,
-                        "you might have meant to write a path",
+                        "write a path separator here",
                         "::".to_string(),
                         Applicability::MaybeIncorrect,
                     );