diff options
| author | yukang <moorekang@gmail.com> | 2023-05-03 11:46:34 +0800 |
|---|---|---|
| committer | yukang <moorekang@gmail.com> | 2023-05-08 10:56:20 +0800 |
| commit | 0bb43c63c33bf29e7a24e696f619be8e55e62f37 (patch) | |
| tree | 35e583a3194d2e531e3d49a8b9daf112ae813926 /compiler/rustc_macros/src/diagnostics/mod.rs | |
| parent | ad6b20bf5225c65aab30169c9a173719f5bdfc04 (diff) | |
| download | rust-0bb43c63c33bf29e7a24e696f619be8e55e62f37.tar.gz rust-0bb43c63c33bf29e7a24e696f619be8e55e62f37.zip | |
Suggest let for possible binding with ty
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/mod.rs')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/mod.rs b/compiler/rustc_macros/src/diagnostics/mod.rs index bd84681cbb4..a536eb3b04e 100644 --- a/compiler/rustc_macros/src/diagnostics/mod.rs +++ b/compiler/rustc_macros/src/diagnostics/mod.rs @@ -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 /// ``` |
