rust/compiler
Dylan DPC fcbb2e8009
Rollup merge of #98607 - compiler-errors:tuple-wrap-suggestion, r=oli-obk
Clean up arg mismatch diagnostic, generalize tuple wrap suggestion

This is based on top of #97542, so just look at the last commit which contains the relevant changes.

1. Remove `final_arg_types` which was one of the last places we were using raw (`usize`) indices instead of typed indices in the arg mismatch suggestion code.
2. Improve the tuple wrap suggestion, now we suggest things like `call(a, b, c, d)` -> `call(a, (b, c), d)` 😺
3. Folded in fix #98645
2022-06-29 17:59:36 +05:30
..
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00
2022-06-27 10:43:51 +02:00
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00
2022-06-28 19:59:09 +05:30
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00