File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
branches/snap-stage3/src/rustc/util Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: f331cd9324e4c4246fb3f332720a444042267e69
4
+ refs/heads/snap-stage3: e7ce32310b90a4738452f2331e25d4815f2ab81f
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ fn bound_region_to_str(cx: ctxt, br: bound_region) -> str {
28
28
}
29
29
30
30
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) ) {
33
33
#fmt ( "<block at %s>" ,
34
34
codemap:: span_to_str ( blk. span , cx. sess . codemap ) )
35
35
}
36
- ast_map:: node_expr ( expr) {
36
+ some ( ast_map:: node_expr ( expr) ) {
37
37
alt expr. node {
38
38
ast:: expr_call ( * ) {
39
39
#fmt ( "<call at %s>" ,
You can’t perform that action at this time.
0 commit comments