Skip to content

Commit 0d6defd

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 171239 b: refs/heads/batch c: 5d6a6f5 h: refs/heads/master i: 171237: a876ef5 171235: 3e2a5bd 171231: aa82600 v: v3
1 parent 304a8e9 commit 0d6defd

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
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 799332fa3f968544831ed66e4e32bf331beddbc0
32+
refs/heads/batch: 5d6a6f59575ab389bb6c2f199e5723923a68ab1d
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 496dc4eae7de9d14cd49511a9acfbf5f11ae6c3f
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/batch/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/batch/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)