diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2024-10-02 16:35:37 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2025-03-06 17:58:32 -0300 |
| commit | 05c516446a0f6105ce695da00d5cf5a0eb54e808 (patch) | |
| tree | d83371138f5b6dc54c0b7122227b209c68cac931 /compiler/rustc_parse/messages.ftl | |
| parent | 0cf8dbc96c7c3c454779fe59e8e7019a3e37d5b6 (diff) | |
| download | rust-05c516446a0f6105ce695da00d5cf5a0eb54e808.tar.gz rust-05c516446a0f6105ce695da00d5cf5a0eb54e808.zip | |
Implement .use keyword as an alias of clone
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
| -rw-r--r-- | compiler/rustc_parse/messages.ftl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl index 1d5b5942170..0289fa5f493 100644 --- a/compiler/rustc_parse/messages.ftl +++ b/compiler/rustc_parse/messages.ftl @@ -348,6 +348,9 @@ parse_incorrect_use_of_await = incorrect use of `await` parse_incorrect_use_of_await_postfix_suggestion = `await` is a postfix operation +parse_incorrect_use_of_use = incorrect use of `use` + .parentheses_suggestion = `use` is not a method call, try removing the parentheses + parse_incorrect_visibility_restriction = incorrect visibility restriction .help = some possible visibility restrictions are: `pub(crate)`: visible only on the current crate |
