File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
branches/beta/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 @@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
23
23
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
24
24
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
- refs/heads/beta: 33200a369ae1aee29e2bcf2aa67f746ddc5e16cc
26
+ refs/heads/beta: 401a2435521ad63a0d780a719f4f5cf9f8b6ae90
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
28
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
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