diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-07-11 22:07:11 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-07-12 03:02:58 +0000 |
| commit | 377d14be88200d122f699aa989e4d1256f2173d2 (patch) | |
| tree | 9b28227ca0df88d3182f368050c6940529d9ff93 /compiler/rustc_parse/messages.ftl | |
| parent | b5f94c61f72cc85151dbd9bb1081fde2ab78f806 (diff) | |
| download | rust-377d14be88200d122f699aa989e4d1256f2173d2.tar.gz rust-377d14be88200d122f699aa989e4d1256f2173d2.zip | |
More accurate incorrect use of `await` suggestion
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
| -rw-r--r-- | compiler/rustc_parse/messages.ftl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl index fd96d95bc2e..c2201b1c41e 100644 --- a/compiler/rustc_parse/messages.ftl +++ b/compiler/rustc_parse/messages.ftl @@ -323,10 +323,10 @@ parse_incorrect_semicolon = .suggestion = remove this semicolon .help = {$name} declarations are not followed by a semicolon -parse_incorrect_use_of_await = - incorrect use of `await` +parse_incorrect_use_of_await = incorrect use of `await` .parentheses_suggestion = `await` is not a method call, remove the parentheses - .postfix_suggestion = `await` is a postfix operation + +parse_incorrect_use_of_await_postfix_suggestion = `await` is a postfix operation parse_incorrect_visibility_restriction = incorrect visibility restriction .help = some possible visibility restrictions are: |
