bors
88fb1b922b
Auto merge of #108698 - IntQuant:issue-100717-infer-6, r=davidtwco
...
Migrating rustc_infer to session diagnostics (part 5)
`@rustbot` label +A-translation
cc https://github.com/rust-lang/rust/issues/100717
2023-04-10 19:38:48 +00:00
ickk
726598ed9a
fix infer_source_kind_subdiag_let help message - remove double "the"
2023-04-07 17:42:17 +10:00
IQuant
1f09bc77c1
Migrate (most of) report_and_explain_type_error
2023-04-04 18:50:02 +03:00
IQuant
b610ce72ce
Migrate TupleTrailingCommaSuggestion
2023-04-04 18:34:50 +03:00
IQuant
d18adb7d56
Migrate SuggestTuplePattern
2023-04-04 18:34:50 +03:00
IQuant
23b8567a78
Migrate SuggestBoxingForReturnImplTrait, Fix typo in infer_fn_consider_casting
2023-04-04 18:34:50 +03:00
IQuant
d56b304bc8
Migrate SuggestAccessingField
2023-04-04 18:34:50 +03:00
IQuant
b36abea285
Migrate SuggestAsRefWhereAppropriate
2023-04-04 18:34:50 +03:00
IQuant
37f55691f4
Ported FunctionPointerSuggestion
2023-04-04 18:34:50 +03:00
est31
7e2ecb3cd8
Simplify message paths
...
This makes it easier to open the messages file while developing on features.
The commit was the result of automatted changes:
for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done
for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done
2023-03-11 22:51:57 +01:00