diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-29 17:59:36 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-29 17:59:36 +0530 |
| commit | fcbb2e8009e440987060bb6c669d052326416c28 (patch) | |
| tree | e1fcd98790743b4104638c35c026cf204b91a5cd /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | b2836bd34c34b60de93e6bc1c548bb9349b4dfea (diff) | |
| parent | 23f3b0dfd04812b03da0df4d5dfad0fef39c6862 (diff) | |
| download | rust-fcbb2e8009e440987060bb6c669d052326416c28.tar.gz rust-fcbb2e8009e440987060bb6c669d052326416c28.zip | |
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)` :smiley_cat: 3. Folded in fix #98645
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
