1 error[E0061]: this function takes 6 arguments but 7 arguments were supplied
2 --> $DIR/issue-101097.rs:16:5
4 LL | f(C, A, A, A, B, B, C);
5 | ^ - - - - expected `C`, found `B`
7 | | | argument of type `A` unexpected
8 | | expected `B`, found `A`
9 | expected `A`, found `C`
11 note: function defined here
12 --> $DIR/issue-101097.rs:6:4
30 LL | f(A, A, B, B, C, C);
33 error[E0308]: arguments to this function are incorrect
34 --> $DIR/issue-101097.rs:17:5
36 LL | f(C, C, A, A, B, B);
39 note: function defined here
40 --> $DIR/issue-101097.rs:6:4
58 LL | f(A, A, B, B, C, C);
61 error[E0308]: arguments to this function are incorrect
62 --> $DIR/issue-101097.rs:18:5
64 LL | f(A, A, D, D, B, B);
65 | ^ - - ---- two arguments of type `C` and `C` are missing
67 | | argument of type `D` unexpected
68 | argument of type `D` unexpected
70 note: function defined here
71 --> $DIR/issue-101097.rs:6:4
89 LL | f(A, A, B, B, /* C */, /* C */);
90 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 error[E0308]: arguments to this function are incorrect
93 --> $DIR/issue-101097.rs:19:5
95 LL | f(C, C, B, B, A, A);
96 | ^ - - - - expected `C`, found `A`
98 | | | expected `C`, found `A`
99 | | expected `A`, found `C`
100 | expected `A`, found `C`
102 note: function defined here
103 --> $DIR/issue-101097.rs:6:4
121 LL | f(A, A, B, B, C, C);
124 error[E0308]: arguments to this function are incorrect
125 --> $DIR/issue-101097.rs:20:5
127 LL | f(C, C, A, B, A, A);
128 | ^ - - - - - expected `C`, found `A`
130 | | | | expected `C`, found `A`
131 | | | expected struct `B`, found struct `A`
132 | | expected `A`, found `C`
133 | expected `A`, found `C`
135 note: function defined here
136 --> $DIR/issue-101097.rs:6:4
154 LL | f(A, A, /* B */, B, C, C);
155 | ~~~~~~~~~~~~~~~~~~~~~~~~
157 error: aborting due to 5 previous errors
159 Some errors have detailed explanations: E0061, E0308.
160 For more information about an error, try `rustc --explain E0061`.