rust/src/test/ui/unsized
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
..
box-instead-of-dyn-fn.rs
box-instead-of-dyn-fn.stderr
issue-30355.rs
issue-30355.stderr
issue-40231-1.rs
issue-40231-2.rs
issue-71659.rs
issue-71659.stderr
issue-75707.rs
issue-75707.stderr
issue-91801.rs
issue-91801.stderr
issue-91803.rs
issue-91803.stderr
issue-97732.rs
maybe-bounds-where-cpass.rs
maybe-bounds-where.rs
maybe-bounds-where.stderr
param-mentioned-by-different-field.rs
param-mentioned-by-different-field.stderr
return-unsized-from-trait-method.rs
return-unsized-from-trait-method.stderr
unchanged-param.rs
unsized2.rs
unsized3-rpass.rs
unsized3.rs
unsized3.stderr
unsized5.rs
unsized5.stderr
unsized6.rs
unsized6.stderr
unsized7.rs
unsized7.stderr
unsized-bare-typaram.rs
unsized-bare-typaram.stderr
unsized-enum2.rs
unsized-enum2.stderr
unsized-enum.rs
unsized-enum.stderr
unsized-fn-arg.fixed
unsized-fn-arg.rs
unsized-fn-arg.stderr
unsized-fn-param.rs
unsized-fn-param.stderr Rollup merge of #98607 - compiler-errors:tuple-wrap-suggestion, r=oli-obk 2022-06-29 17:59:36 +05:30
unsized-inherent-impl-self-type.rs
unsized-inherent-impl-self-type.stderr
unsized-struct.rs
unsized-struct.stderr
unsized-trait-impl-self-type.rs
unsized-trait-impl-self-type.stderr
unsized-trait-impl-trait-arg.rs
unsized-trait-impl-trait-arg.stderr
unsized-tuple-impls.rs
unsized.rs