summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-10-11 16:11:47 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-10-11 16:11:47 -0700
commit3764ec7025322918acf682cda498577dffdea4d3 (patch)
treefe3552698309eb4ec998f3e07ab75d76f3158c20 /src/rustc
parent63dc83198a8e2d7c1a9b43d1512b30eaa002fca8 (diff)
downloadrust-3764ec7025322918acf682cda498577dffdea4d3.tar.gz
rust-3764ec7025322918acf682cda498577dffdea4d3.zip
Remove obsolete FIXME
Diffstat (limited to 'src/rustc')
-rw-r--r--src/rustc/middle/borrowck/gather_loans.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rustc/middle/borrowck/gather_loans.rs b/src/rustc/middle/borrowck/gather_loans.rs
index 5dfde8c9af6..f5ac40ce93d 100644
--- a/src/rustc/middle/borrowck/gather_loans.rs
+++ b/src/rustc/middle/borrowck/gather_loans.rs
@@ -119,12 +119,7 @@ fn req_loans_in_expr(ex: @ast::expr,
                 let arg_cmt = self.bccx.cat_expr(*arg);
                 self.guarantee_valid(arg_cmt, m_imm,  scope_r);
               }
-              ast::by_val => {
-                // FIXME (#2493): safety checks would be required here,
-                // but the correct set is really hard to get right,
-                // and modes are going away anyhow.
-              }
-              ast::by_move | ast::by_copy => {}
+               ast::by_val | ast::by_move | ast::by_copy => {}
             }
         }
         visit::visit_expr(ex, self, vt);