diff options
| author | Michael Howell <michael@notriddle.com> | 2022-03-12 08:20:36 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-03-12 08:20:36 -0700 |
| commit | 26e299a4a74e4526ee405476bf45559c434d28ce (patch) | |
| tree | 92cca66117f79d92ab4e37c4c05ec290a45a23e7 /compiler/rustc_parse/src/parser | |
| parent | 7e323370b351ab138caa90cddb0e9811a4e8439d (diff) | |
| download | rust-26e299a4a74e4526ee405476bf45559c434d28ce.tar.gz rust-26e299a4a74e4526ee405476bf45559c434d28ce.zip | |
Use consistent prose for `::`
Co-authored-by: Camille Gillot <gillot.camille@gmail.com>
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/diagnostics.rs | 2 |
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, ); |
