middle: typeck: infer: lub: remove dead code

This commit is contained in:
Corey Richardson 2014-04-01 10:44:29 -04:00
parent 1a98ec83c1
commit ce47c91bfc

View File

@ -31,10 +31,6 @@
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> {