Closed
Description
I tried this code:
struct A;
struct B;
struct C;
fn f(
a1: A,
a2: A,
b1: B,
b2: B,
c1: C,
c2: C,
) {}
fn main() {
f(
C,
C,
A,
A,
B,
B,
);
}
I expected to see this happen: the compiler giving an error and showing a hint that order of the argument are not correct.
Instead, this happened: it stucks, waits forever.
Meta
It happens on both stable and nightly.
Might be related to this: #100478