Skip to content
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

Merged
merged 1 commit into from
Jul 24, 2015
Merged

Conversation

AlisdairO
Copy link
Contributor

As title!

Part of #24407.
r? @Manishearth

@@ -12,6 +12,56 @@

register_long_diagnostics! {

E0373: r##"
This error occurs when an attempt is made to us data captured by a closure,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

us -> use

@Manishearth
Copy link
Member

r=me with the nits above fixed

@AlisdairO
Copy link
Contributor Author

nits fixed, squashed!

@Manishearth
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jul 23, 2015

📌 Commit 38c5af8 has been approved by Manishearth

@@ -12,6 +12,56 @@

register_long_diagnostics! {

E0373: r##"
This error occurs when an attempt is made to use data captured by a closure,
Copy link
Member

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.

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jul 24, 2015
bors added a commit that referenced this pull request Jul 24, 2015
@bors bors merged commit 38c5af8 into rust-lang:master Jul 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants