about summary refs log tree commit diff
path: root/compiler/rustc_parse/messages.ftl
diff options
context:
space:
mode:
authoryukang <moorekang@gmail.com>2025-02-11 15:26:21 +0800
committeryukang <moorekang@gmail.com>2025-02-15 07:44:20 +0800
commit0aa2e6b606fdca2c0166b6033e3ea0cb8484eeb7 (patch)
tree6ed192cab064e2d9acaaefa9cb5431fc7fca6e87 /compiler/rustc_parse/messages.ftl
parentd8810e3e2dab96778d20dd6d746ff95465515509 (diff)
downloadrust-0aa2e6b606fdca2c0166b6033e3ea0cb8484eeb7.tar.gz
rust-0aa2e6b606fdca2c0166b6033e3ea0cb8484eeb7.zip
Try to recover from path sep error in parser
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
-rw-r--r--compiler/rustc_parse/messages.ftl3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl
index d50bd18a1d7..563081c7240 100644
--- a/compiler/rustc_parse/messages.ftl
+++ b/compiler/rustc_parse/messages.ftl
@@ -743,9 +743,6 @@ parse_single_colon_import_path = expected `::`, found `:`
     .suggestion = use double colon
     .note = import paths are delimited using `::`
 
-parse_single_colon_struct_type = found single colon in a struct field type path
-    .suggestion = write a path separator here
-
 parse_static_with_generics = static items may not have generic parameters
 
 parse_struct_literal_body_without_path =