Skip to content

Commit f3551b3

Browse files
committed
---
yaml --- r: 233395 b: refs/heads/beta c: 401a243 h: refs/heads/master i: 233393: b69a66c 233391: d132ef5 v: v3
1 parent e5af684 commit f3551b3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 33200a369ae1aee29e2bcf2aa67f746ddc5e16cc
26+
refs/heads/beta: 401a2435521ad63a0d780a719f4f5cf9f8b6ae90
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/librustc_typeck/astconv.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,12 +1523,13 @@ pub fn ast_ty_to_ty<'tcx>(this: &AstConv<'tcx>,
15231523
ast_ty: &ast::Ty)
15241524
-> Ty<'tcx>
15251525
{
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);
15281528

15291529
let tcx = this.tcx();
15301530

15311531
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);
15321533
return ty;
15331534
}
15341535

@@ -1667,6 +1668,7 @@ pub fn ast_ty_to_ty<'tcx>(this: &AstConv<'tcx>,
16671668
}
16681669
};
16691670

1671+
debug!("ast_ty_to_ty: id={:?} ty={:?}", ast_ty.id, typ);
16701672
tcx.ast_ty_to_ty_cache.borrow_mut().insert(ast_ty.id, typ);
16711673
return typ;
16721674
}

0 commit comments

Comments
 (0)