Suggest let for possible binding with ty

This commit is contained in:
yukang 2023-05-03 11:46:34 +08:00
parent ad6b20bf52
commit 0bb43c63c3
9 changed files with 61 additions and 12 deletions

View file

@ -140,7 +140,7 @@ pub fn lint_diagnostic_derive(s: Structure<'_>) -> TokenStream {
/// ```fluent
/// parser_expected_identifier = expected identifier
///
/// parser_expected_identifier-found = expected identifier, found {$found}
/// parser_expected_identifier_found = expected identifier, found {$found}
///
/// parser_raw_identifier = escape `{$ident}` to use it as an identifier
/// ```