Skip to content

Commit 3a76b34

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

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
@@ -702,7 +702,7 @@ parse_parenthesized_lifetime_suggestion = remove the parentheses
702702
parse_path_double_colon = path separator must be a double colon
703703
.suggestion = use a double colon instead
704704
705-
parse_path_found_named_params = syntax does not allow named arguments
705+
parse_path_found_named_params = `Trait(...)` syntax does not support named parameters
706706
.suggestion = remove name of the param
707707
708708
parse_pattern_method_param_without_body = patterns aren't allowed in methods without bodies

0 commit comments

Comments
 (0)