From 26e299a4a74e4526ee405476bf45559c434d28ce Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Sat, 12 Mar 2022 08:20:36 -0700 Subject: Use consistent prose for `::` Co-authored-by: Camille Gillot --- compiler/rustc_parse/src/parser/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_parse/src') 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, ); -- cgit 1.4.1-3-g733a5