1
Fork 0

find the correct lang item for ranges

This commit is contained in:
yukang 2022-10-03 04:22:59 +08:00
parent 5dd44d4d4c
commit e747201ad8
5 changed files with 109 additions and 69 deletions

View file

@ -133,8 +133,7 @@ hir_analysis_extern_crate_not_idiomatic =
.suggestion = convert it to a `{$msg_code}`
hir_analysis_expected_used_symbol = expected `used`, `used(compiler)` or `used(linker)`
hir_analysis_expected_used_symbol = expected `used`, `used(compiler)` or `used(linker)`
hir_analysis_missing_parentheses_in_range = `{$ty_str}` is not an iterator
hir_analysis_missing_parentheses_in_range = can't call method `{$method_name}` on type `{$ty_str}`
hir_analysis_add_missing_parentheses_in_range = you must surround the range in parentheses to call the `{$func_name}` function