]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_error_messages/locales/en-US/parse.ftl
Auto merge of #100539 - joboet:horizon_timeout_clock, r=thomcc
[rust.git] / compiler / rustc_error_messages / locales / en-US / parse.ftl
index 114b7ec16288bb7b99f0abcb1ed89ba8559d68ad..b53550e5fd556c02e58acd21fbae26252bb2b69a 100644 (file)
@@ -362,3 +362,6 @@ parse_fn_ptr_with_generics = function pointer types may not have generic paramet
 
 parse_invalid_identifier_with_leading_number = expected identifier, found number literal
     .label = identifiers cannot start with a number
+
+parse_maybe_fn_typo_with_impl = you might have meant to write `impl` instead of `fn`
+    .suggestion = replace `fn` with `impl` here