File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
branches/try/src/librustc_typeck Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 33200a369ae1aee29e2bcf2aa67f746ddc5e16cc
4
+ refs/heads/try: 401a2435521ad63a0d780a719f4f5cf9f8b6ae90
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -1523,12 +1523,13 @@ pub fn ast_ty_to_ty<'tcx>(this: &AstConv<'tcx>,
1523
1523
ast_ty : & ast:: Ty )
1524
1524
-> Ty < ' tcx >
1525
1525
{
1526
- debug ! ( "ast_ty_to_ty(ast_ty={:?})" ,
1527
- ast_ty) ;
1526
+ debug ! ( "ast_ty_to_ty(id={:?}, ast_ty={:?})" ,
1527
+ ast_ty. id , ast_ty ) ;
1528
1528
1529
1529
let tcx = this. tcx ( ) ;
1530
1530
1531
1531
if let Some ( & ty) = tcx. ast_ty_to_ty_cache . borrow ( ) . get ( & ast_ty. id ) {
1532
+ debug ! ( "ast_ty_to_ty: id={:?} ty={:?} (cached)" , ast_ty. id, ty) ;
1532
1533
return ty;
1533
1534
}
1534
1535
@@ -1667,6 +1668,7 @@ pub fn ast_ty_to_ty<'tcx>(this: &AstConv<'tcx>,
1667
1668
}
1668
1669
} ;
1669
1670
1671
+ debug ! ( "ast_ty_to_ty: id={:?} ty={:?}" , ast_ty. id, typ) ;
1670
1672
tcx. ast_ty_to_ty_cache . borrow_mut ( ) . insert ( ast_ty. id , typ) ;
1671
1673
return typ;
1672
1674
}
You can’t perform that action at this time.
0 commit comments