-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 long diagnostics for E0373 #27229
Conversation
@@ -12,6 +12,56 @@ | |||
|
|||
register_long_diagnostics! { | |||
|
|||
E0373: r##" | |||
This error occurs when an attempt is made to us data captured by a closure, |
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.
us -> use
r=me with the nits above fixed |
0ccf636
to
38c5af8
Compare
nits fixed, squashed! |
@bors r+ rollup |
📌 Commit 38c5af8 has been approved by |
@@ -12,6 +12,56 @@ | |||
|
|||
register_long_diagnostics! { | |||
|
|||
E0373: r##" | |||
This error occurs when an attempt is made to use data captured by a closure, |
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.
Nit: Its the attempt to capture which causes the error, not the use of the captured variable.
…arth As title! Part of rust-lang#24407. r? @Manishearth
As title!
Part of #24407.
r? @Manishearth