diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2023-02-03 11:10:24 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2023-02-03 11:44:23 +0000 |
| commit | f874f6768caa8b59b99feffc708e868328129fd5 (patch) | |
| tree | afc222eb89f743bf44af8c9cfe25ff671cdbc198 /compiler/rustc_error_messages | |
| parent | 5d32458343f34bd8de6d96cbaab2a9cf879dd1b8 (diff) | |
Fix suggestion for coercing Option<&String> to Option<&str>
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/hir_typeck.ftl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/hir_typeck.ftl b/compiler/rustc_error_messages/locales/en-US/hir_typeck.ftl index 0f13d29d0fc..05ac8db0db8 100644 --- a/compiler/rustc_error_messages/locales/en-US/hir_typeck.ftl +++ b/compiler/rustc_error_messages/locales/en-US/hir_typeck.ftl @@ -61,3 +61,5 @@ hir_typeck_lang_start_incorrect_ret_ty = the return type of the `start` lang ite hir_typeck_help_set_edition_cargo = set `edition = "{$edition}"` in `Cargo.toml` hir_typeck_help_set_edition_standalone = pass `--edition {$edition}` to `rustc` hir_typeck_note_edition_guide = for more on editions, read https://doc.rust-lang.org/edition-guide + +hir_typeck_convert_to_str = try converting the passed type into a `&str` |
