Skip to content

Commit d30f408

Browse files
committed
Rework help message
Signed-off-by: Sasha Pourcelot <[email protected]>
1 parent 6256cff commit d30f408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_parse/messages.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ parse_expected_trait_in_trait_impl_found_type = expected a trait, found type
232232
233233
parse_expr_rarrow_call = `->` used for field access or method call
234234
.suggestion = try using `.` instead
235-
.help = Rust uses `.` to access fields and methods
235+
.help = The `.` operator dereferences the value if needed
236236
237237
parse_extern_crate_name_with_dashes = crate name using dashes are not valid in `extern crate` statements
238238
.label = dash-separated idents are not valid

0 commit comments

Comments
 (0)