Skip to content

Commit 1221e61

Browse files
committed
---
yaml --- r: 162797 b: refs/heads/try c: 9aeaaab h: refs/heads/master i: 162795: 064d704 v: v3
1 parent ddb1ee2 commit 1221e61

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cafe2966770ff377aad6dd9fd808e68055587c58
5-
refs/heads/try: adda9c152096459bd9925114e7c742619939ac49
5+
refs/heads/try: 9aeaaab3347657375e4d20855f8faebb2ab128da
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librustc/middle/infer/region_inference/doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,4 +371,4 @@
371371
//! ### Skolemization
372372
//!
373373
//! For a discussion on skolemization and higher-ranked subtyping, please
374-
//! see the module `middle::typeck::infer::higher_ranked::doc`.
374+
//! see the module `middle::infer::higher_ranked::doc`.

branches/try/src/librustc/middle/typeck/check/regionmanip.rs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,3 +380,22 @@ impl<'a, 'tcx> Wf<'a, 'tcx> {
380380
}
381381
}
382382
}
383+
384+
impl<'tcx> Repr<'tcx> for WfConstraint<'tcx> {
385+
fn repr(&self, tcx: &ty::ctxt) -> String {
386+
match *self {
387+
RegionSubRegionConstraint(_, r_a, r_b) => {
388+
format!("RegionSubRegionConstraint({}, {})",
389+
r_a.repr(tcx),
390+
r_b.repr(tcx))
391+
}
392+
393+
RegionSubParamConstraint(_, r, p) => {
394+
format!("RegionSubParamConstraint({}, {})",
395+
r.repr(tcx),
396+
p.repr(tcx))
397+
}
398+
}
399+
}
400+
}
401+

branches/try/src/librustc/util/ppaux.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ use middle::ty::{ty_param, ty_ptr, ty_rptr, ty_tup, ty_open};
2323
use middle::ty::{ty_unboxed_closure};
2424
use middle::ty::{ty_uniq, ty_trait, ty_int, ty_uint, ty_infer};
2525
use middle::ty;
26-
use middle::typeck::check::regionmanip;
2726

2827
use std::rc::Rc;
2928
use syntax::abi;
@@ -1292,24 +1291,6 @@ impl<'tcx> Repr<'tcx> for ty::ExplicitSelfCategory {
12921291
}
12931292
}
12941293

1295-
impl<'tcx> Repr<'tcx> for regionmanip::WfConstraint<'tcx> {
1296-
fn repr(&self, tcx: &ctxt) -> String {
1297-
match *self {
1298-
regionmanip::RegionSubRegionConstraint(_, r_a, r_b) => {
1299-
format!("RegionSubRegionConstraint({}, {})",
1300-
r_a.repr(tcx),
1301-
r_b.repr(tcx))
1302-
}
1303-
1304-
regionmanip::RegionSubParamConstraint(_, r, p) => {
1305-
format!("RegionSubParamConstraint({}, {})",
1306-
r.repr(tcx),
1307-
p.repr(tcx))
1308-
}
1309-
}
1310-
}
1311-
}
1312-
13131294
impl<'tcx> UserString<'tcx> for ParamTy {
13141295
fn user_string(&self, tcx: &ctxt) -> String {
13151296
let id = self.idx;

0 commit comments

Comments
 (0)