1
Fork 0

Fix suggestion for coercing Option<&String> to Option<&str>

This commit is contained in:
clubby789 2023-02-03 11:10:24 +00:00
parent 5d32458343
commit f874f6768c
5 changed files with 88 additions and 13 deletions

View file

@ -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`