Skip to content

Commit 9e6359e

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 171834 b: refs/heads/beta c: 5d6a6f5 h: refs/heads/master v: v3
1 parent 3bd63bf commit 9e6359e

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 799332fa3f968544831ed66e4e32bf331beddbc0
34+
refs/heads/beta: 5d6a6f59575ab389bb6c2f199e5723923a68ab1d
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/beta/src/librustc/middle/infer/coercion.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ use middle::ty::{self, Ty};
7171
use util::ppaux;
7272
use util::ppaux::Repr;
7373

74-
use syntax::abi;
7574
use syntax::ast;
7675

7776
// Note: Coerce is not actually a combiner, in that it does not

branches/beta/src/librustc/middle/ty.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3501,23 +3501,6 @@ pub fn type_contents<'tcx>(cx: &ctxt<'tcx>, ty: Ty<'tcx>) -> TypeContents {
35013501
b | (TC::ReachesBorrowed).when(region != ty::ReStatic)
35023502
}
35033503

3504-
fn closure_contents(cty: &ClosureTy) -> TypeContents {
3505-
// Closure contents are just like trait contents, but with potentially
3506-
// even more stuff.
3507-
let st = object_contents(&cty.bounds);
3508-
3509-
let st = match cty.store {
3510-
UniqTraitStore => {
3511-
st.owned_pointer()
3512-
}
3513-
RegionTraitStore(r, mutbl) => {
3514-
st.reference(borrowed_contents(r, mutbl))
3515-
}
3516-
};
3517-
3518-
st
3519-
}
3520-
35213504
fn object_contents(bounds: &ExistentialBounds) -> TypeContents {
35223505
// These are the type contents of the (opaque) interior. We
35233506
// make no assumptions (other than that it cannot have an

0 commit comments

Comments
 (0)