-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
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
Add missing error code explanation for E0183 #61225
Conversation
This is part of the ongoing work for rust-lang#61137
Some changes occurred in diagnostic error codes |
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
E0183: r##" | ||
Fn* traits (`unboxed closures`) are experimental. | ||
|
||
Functions must have exactly one (non self) argument, a tuple representing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a failing code example.
the argument list [1]. This feature can be enabled with: | ||
|
||
``` | ||
#![feature(unboxed_closures)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please show a complete fixed code example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow the same "template" the other long error explanations are using too please.
Ping from triage @ewk, waiting on changes. |
Ping from triage. @ewk any updates on this? |
I'll get it done tonight, if that's not a problem (I'm not @ewk) |
Closing this as @Karrq will work on it in a separate PR |
This is part of the ongoing work for #61137