]> git.lizzy.rs Git - rust.git/commit
Add error message (i.e. do not ICE) when moving out of unsafe pointers.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 10 Feb 2015 14:01:31 +0000 (15:01 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 10 Feb 2015 14:01:31 +0000 (15:01 +0100)
commit3513c97302b72b6dd51136ce1e259ca0e67458f3
treefa4a79a92bd45e8bb294e7192b6c3120ce661164
parent94c06a1be0ccfcf1a8e105fc98d126de372dbd40
Add error message (i.e. do not ICE) when moving out of unsafe pointers.

Fix #20801.
src/librustc_borrowck/borrowck/gather_loans/move_error.rs
src/test/compile-fail/issue-20801.rs [new file with mode: 0644]