Skip to content

Commit 6d13765

Browse files
committed
---
yaml --- r: 10611 b: refs/heads/snap-stage3 c: e7ce323 h: refs/heads/master i: 10609: 68966f2 10607: bd1e5b9 v: v3
1 parent c6094a9 commit 6d13765

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f331cd9324e4c4246fb3f332720a444042267e69
4+
refs/heads/snap-stage3: e7ce32310b90a4738452f2331e25d4815f2ab81f
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/rustc/util/ppaux.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ fn bound_region_to_str(cx: ctxt, br: bound_region) -> str {
2828
}
2929

3030
fn re_scope_id_to_str(cx: ctxt, node_id: ast::node_id) -> str {
31-
alt cx.items.get(node_id) {
32-
ast_map::node_block(blk) {
31+
alt cx.items.find(node_id) {
32+
some(ast_map::node_block(blk)) {
3333
#fmt("<block at %s>",
3434
codemap::span_to_str(blk.span, cx.sess.codemap))
3535
}
36-
ast_map::node_expr(expr) {
36+
some(ast_map::node_expr(expr)) {
3737
alt expr.node {
3838
ast::expr_call(*) {
3939
#fmt("<call at %s>",

0 commit comments

Comments
 (0)