Skip to content

Add error message (i.e. do not ICE) when moving out of unsafe pointers. #22143

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

Merged
merged 1 commit into from
Feb 10, 2015

Conversation

pnkfelix
Copy link
Member

Add error message (i.e. do not ICE) when moving out of unsafe pointers.

Fix #20801.

@rust-highfive
Copy link
Contributor

r? @nick29581

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 3513c97

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Feb 10, 2015
Add error message (i.e. do not ICE) when moving out of unsafe pointers.

Fix rust-lang#20801.
@bors bors merged commit 3513c97 into rust-lang:master Feb 10, 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.

ICE: this path should not cause illegal move
5 participants