File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
trunk/src/rustc/middle/borrowck Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b61071d953019ccfcc8b5c53f737256a1c64230d
2
+ refs/heads/master: 64c78971876df254d346c237fa7173770610c066
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -86,8 +86,10 @@ fn req_loans_in_expr(ex: @ast::expr,
86
86
// passing the buck onto us to enforce this)
87
87
88
88
alt opt_deref_kind( arg_ty. ty ) {
89
- some( deref_ptr( region_ptr) ) {
89
+ some( deref_ptr( region_ptr) ) |
90
+ some ( deref_ptr ( unsafe_ptr) ) {
90
91
/* region pointers are (by induction) guaranteed */
92
+ /* unsafe pointers are the user's problem */
91
93
}
92
94
none {
93
95
/* not a pointer, no worries */
You can’t perform that action at this time.
0 commit comments