We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
It happens on both stable and nightly.
Might be related to this: #100478
The text was updated successfully, but these errors were encountered:
Yeah, this is probably a dupe of that other one. cc @chenyukang
Sorry, something went wrong.
Yes, it's another bug in the same function, but the root cause is different. I will working on the same PR for this issue.
Auto merge of rust-lang#100502 - chenyukang:fix-100478, r=jackh726
56e7678
Avoid infinite loop in function arguments checking Fixes rust-lang#100478 Fixes rust-lang#101097
7e7dfb8
Successfully merging a pull request may close this issue.
I tried this code:
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
The text was updated successfully, but these errors were encountered: