about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-12-09 18:34:22 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2015-01-05 11:38:12 -0800
commit1c2fddc6bf6332212fe899c2cb86ae7e645f6eba (patch)
treef1835e233498f559546ef19e18a0aba2d08863c1 /src
parent538288176a22b4d3755df085783f84d476386019 (diff)
Remove unused if_ok! macro
Diffstat (limited to 'src')
-rw-r--r--src/librustc_borrowck/borrowck/mod.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/librustc_borrowck/borrowck/mod.rs b/src/librustc_borrowck/borrowck/mod.rs
index 75545634b40..fd46a035537 100644
--- a/src/librustc_borrowck/borrowck/mod.rs
+++ b/src/librustc_borrowck/borrowck/mod.rs
@@ -39,15 +39,6 @@ use syntax::visit;
 use syntax::visit::{Visitor, FnKind};
 use syntax::ast::{FnDecl, Block, NodeId};
 
-macro_rules! if_ok {
-    ($inp: expr) => (
-        match $inp {
-            Ok(v) => { v }
-            Err(e) => { return Err(e); }
-        }
-    )
-}
-
 pub mod doc;
 
 pub mod check_loans;