Skip to content

Commit 3764ec7

Browse files
committed
Remove obsolete FIXME
1 parent 63dc831 commit 3764ec7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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)