Skip to content

Commit 804c6b4

Browse files
Update compiler/rustc_parse/messages.ftl
Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
1 parent 3a76b34 commit 804c6b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_parse/messages.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ parse_path_double_colon = path separator must be a double colon
703703
.suggestion = use a double colon instead
704704
705705
parse_path_found_named_params = `Trait(...)` syntax does not support named parameters
706-
.suggestion = remove name of the param
706+
.suggestion = remove name of the parameter
707707
708708
parse_pattern_method_param_without_body = patterns aren't allowed in methods without bodies
709709
.suggestion = give this argument a name or use an underscore to ignore it

0 commit comments

Comments
 (0)