Skip to content

Commit 4730cfc

Browse files
committed
---
yaml --- r: 109873 b: refs/heads/master c: ce47c91 h: refs/heads/master i: 109871: 3758a39 v: v3
1 parent 4fdff19 commit 4730cfc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 1a98ec83c1a470ef18ee6fa9b2eedc237032d64c
2+
refs/heads/master: ce47c91bfc27d41d8e674c4aed0e431c1eab75f6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
55
refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d

trunk/src/librustc/middle/typeck/infer/lub.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ pub struct Lub<'f>(CombineFields<'f>); // least-upper-bound: common supertype
3131

3232
impl<'f> Lub<'f> {
3333
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-
}
3834
}
3935

4036
impl<'f> Combine for Lub<'f> {

0 commit comments

Comments
 (0)