Skip to content

Commit 68f5c01

Browse files
committed
---
yaml --- r: 163654 b: refs/heads/snap-stage3 c: 1085012 h: refs/heads/master v: v3
1 parent 84cd2a7 commit 68f5c01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d4f8a5abc54d3f7493ab097fb60ed4eef6920912
4+
refs/heads/snap-stage3: 1085012cd2f587bed0eb64a547d03d671d3a5c6f
55
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc/middle/ty_fold.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ pub struct BottomUpFolder<'a, 'tcx: 'a, F> where F: FnMut(Ty<'tcx>) -> Ty<'tcx>
711711
impl<'a, 'tcx, F> TypeFolder<'tcx> for BottomUpFolder<'a, 'tcx, F> where
712712
F: FnMut(Ty<'tcx>) -> Ty<'tcx>,
713713
{
714-
fn tcx<'a>(&'a self) -> &'a ty::ctxt<'tcx> { self.tcx }
714+
fn tcx(&self) -> &ty::ctxt<'tcx> { self.tcx }
715715

716716
fn fold_ty(&mut self, ty: Ty<'tcx>) -> Ty<'tcx> {
717717
let t1 = super_fold_ty(self, ty);
@@ -769,7 +769,7 @@ pub fn fold_regions<'tcx,T,F>(tcx: &ty::ctxt<'tcx>,
769769

770770
impl<'a, 'tcx> TypeFolder<'tcx> for RegionFolder<'a, 'tcx>
771771
{
772-
fn tcx<'a>(&'a self) -> &'a ty::ctxt<'tcx> { self.tcx }
772+
fn tcx(&self) -> &ty::ctxt<'tcx> { self.tcx }
773773

774774
fn enter_region_binder(&mut self) {
775775
self.current_depth += 1;

0 commit comments

Comments
 (0)