-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.
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
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.