diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-27 15:32:29 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-28 20:16:35 -0400 |
| commit | d526adad2580d20c6f01c4c285e699492dbd45f7 (patch) | |
| tree | 8d719d1355cd32a3c10a156823b94ca81fde30c1 /compiler/rustc_lint/messages.ftl | |
| parent | 6f3ad0a40bf6bd80610008bfe48d3977e921d09d (diff) | |
| download | rust-d526adad2580d20c6f01c4c285e699492dbd45f7.tar.gz rust-d526adad2580d20c6f01c4c285e699492dbd45f7.zip | |
Basic lint detecting closure-returning-async-block
Diffstat (limited to 'compiler/rustc_lint/messages.ftl')
| -rw-r--r-- | compiler/rustc_lint/messages.ftl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_lint/messages.ftl b/compiler/rustc_lint/messages.ftl index 46cf87d1e3c..8c4cfe9b87e 100644 --- a/compiler/rustc_lint/messages.ftl +++ b/compiler/rustc_lint/messages.ftl @@ -187,6 +187,9 @@ lint_cfg_attr_no_attributes = lint_check_name_unknown_tool = unknown lint tool: `{$tool_name}` +lint_closure_returning_async_block = closure returning async block can be made into an async closure + .label = this async block can be removed, and the closure can be turned into an async closure + lint_command_line_source = `forbid` lint level was set on command line lint_confusable_identifier_pair = found both `{$existing_sym}` and `{$sym}` as identifiers, which look alike |
