about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2014-04-01 10:44:29 -0400
committerCorey Richardson <corey@octayn.net>2014-04-02 11:17:23 -0400
commitce47c91bfc27d41d8e674c4aed0e431c1eab75f6 (patch)
treeed07e9454acb38a747b6d0a4d949b48d66aa450a
parent1a98ec83c1a470ef18ee6fa9b2eedc237032d64c (diff)
downloadrust-ce47c91bfc27d41d8e674c4aed0e431c1eab75f6.tar.gz
rust-ce47c91bfc27d41d8e674c4aed0e431c1eab75f6.zip
middle: typeck: infer: lub: remove dead code
-rw-r--r--src/librustc/middle/typeck/infer/lub.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc/middle/typeck/infer/lub.rs b/src/librustc/middle/typeck/infer/lub.rs
index e63ad7322b9..bde750eb6f0 100644
--- a/src/librustc/middle/typeck/infer/lub.rs
+++ b/src/librustc/middle/typeck/infer/lub.rs
@@ -31,10 +31,6 @@ pub struct Lub<'f>(CombineFields<'f>);  // least-upper-bound: common supertype
 
 impl<'f> Lub<'f> {
     pub fn get_ref<'a>(&'a self) -> &'a CombineFields<'f> { let Lub(ref v) = *self; v }
-    pub fn bot_ty(&self, b: ty::t) -> cres<ty::t> { Ok(b) }
-    pub fn ty_bot(&self, b: ty::t) -> cres<ty::t> {
-        self.bot_ty(b) // commutative
-    }
 }
 
 impl<'f> Combine for Lub<'f> {