We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a98ec8 commit ce47c91Copy full SHA for ce47c91
src/librustc/middle/typeck/infer/lub.rs
@@ -31,10 +31,6 @@ pub struct Lub<'f>(CombineFields<'f>); // least-upper-bound: common supertype
31
32
impl<'f> Lub<'f> {
33
pub fn get_ref<'a>(&'a self) -> &'a CombineFields<'f> { let Lub(ref v) = *self; v }
34
- pub fn bot_ty(&self, b: ty::t) -> cres<ty::t> { Ok(b) }
35
- pub fn ty_bot(&self, b: ty::t) -> cres<ty::t> {
36
- self.bot_ty(b) // commutative
37
- }
38
}
39
40
impl<'f> Combine for Lub<'f> {
0 commit comments