Skip to content

Commit 4205427

Browse files
committed
---
yaml --- r: 33261 b: refs/heads/snap-stage3 c: 3764ec7 h: refs/heads/master i: 33259: d68a27f v: v3
1 parent d55e528 commit 4205427

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 63dc83198a8e2d7c1a9b43d1512b30eaa002fca8
4+
refs/heads/snap-stage3: 3764ec7025322918acf682cda498577dffdea4d3
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/rustc/middle/borrowck/gather_loans.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,7 @@ fn req_loans_in_expr(ex: @ast::expr,
119119
let arg_cmt = self.bccx.cat_expr(*arg);
120120
self.guarantee_valid(arg_cmt, m_imm, scope_r);
121121
}
122-
ast::by_val => {
123-
// FIXME (#2493): safety checks would be required here,
124-
// but the correct set is really hard to get right,
125-
// and modes are going away anyhow.
126-
}
127-
ast::by_move | ast::by_copy => {}
122+
ast::by_val | ast::by_move | ast::by_copy => {}
128123
}
129124
}
130125
visit::visit_expr(ex, self, vt);

0 commit comments

Comments
 (0)