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

Don't make unboxed closures implicitly copiable #19889

Merged
merged 1 commit into from
Dec 17, 2014

Conversation

flaper87
Copy link
Contributor

The fix just checks if the bound is Copy and returns an Err if so.

Closes: #19817

@nikomatsakis r?

The fix just checks if the bound is `Copy` and returns an `Err` if so.

Closes: rust-lang#19817
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Dec 17, 2014
The fix just checks if the bound is `Copy` and returns an `Err` if so.

Closes: rust-lang#19817

@nikomatsakis r?
@bors bors merged commit 127dac4 into rust-lang:master Dec 17, 2014
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.

Unboxed closure types are implicitly copyable
3 participants