-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add long diagnostics for E0373 #27229
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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