Fix suggestion for coercing Option<&String> to Option<&str>
This commit is contained in:
parent
5d32458343
commit
f874f6768c
5 changed files with 88 additions and 13 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue