File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
branches/snap-stage3/src/librustc/middle/borrowck/gather_loans Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: a9012a2ad183ad96238ccf2473b731be85eb12e1
4
+ refs/heads/snap-stage3: e014ab9023017ec1c1533a1fbe27288e0b53152f
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ fn check_is_legal_to_move_from(bccx: @BorrowckCtxt,
105
105
mc:: cat_implicit_self( * ) |
106
106
mc:: cat_copied_upvar( * ) |
107
107
mc:: cat_deref( _, _, mc:: region_ptr( * ) ) |
108
- mc:: cat_deref( _, _, mc:: gc_ptr( * ) ) => {
108
+ mc:: cat_deref( _, _, mc:: gc_ptr( * ) ) |
109
+ mc:: cat_deref( _, _, mc:: unsafe_ptr( * ) ) => {
109
110
bccx. span_err (
110
111
cmt0. span ,
111
112
fmt ! ( "cannot move out of %s" ,
@@ -129,8 +130,7 @@ fn check_is_legal_to_move_from(bccx: @BorrowckCtxt,
129
130
mc:: cat_rvalue( * ) |
130
131
mc:: cat_local( * ) |
131
132
mc:: cat_arg( * ) |
132
- mc:: cat_self( * ) |
133
- mc:: cat_deref( _, _, mc:: unsafe_ptr( * ) ) => {
133
+ mc:: cat_self( * ) => {
134
134
true
135
135
}
136
136
You can’t perform that action at this time.
0 commit comments