diff options
| author | yukang <moorekang@gmail.com> | 2022-09-16 01:09:26 +0800 |
|---|---|---|
| committer | yukang <moorekang@gmail.com> | 2022-09-16 01:09:26 +0800 |
| commit | 4bf7d2ca913179e3d4c71871a112820624c1e379 (patch) | |
| tree | d834d8f52d10292b69e9acda2abc82dab97420fd /compiler/rustc_parse/src | |
| parent | 98e20c097cbb402ee2c6f4056fe8b4acca9679f9 (diff) | |
| download | rust-4bf7d2ca913179e3d4c71871a112820624c1e379.tar.gz rust-4bf7d2ca913179e3d4c71871a112820624c1e379.zip | |
tweak suggestion
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/parser/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs index 045dc7357f1..e55b5ce71cd 100644 --- a/compiler/rustc_parse/src/parser/item.rs +++ b/compiler/rustc_parse/src/parser/item.rs @@ -705,7 +705,7 @@ impl<'a> Parser<'a> { if is_let { err.span_suggestion( non_item_span, - "considering use `const` instead of `let` for associated const", + "consider using `const` instead of `let` for associated const", "const", Applicability::MachineApplicable, ); |
