File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/try/src/rustc/middle Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 864ff4707e21fc038ae33e2aed31264a39c5dac7
5
+ refs/heads/try: db77c38fc9048e5467ab85d1855110f894d380f4
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ type ctxt = {
53
53
in_alt : bool
54
54
} ;
55
55
56
- fn region_to_scope ( _region_map : @region_map , region : ty:: region )
56
+ fn region_to_scope ( region_map : @region_map , region : ty:: region )
57
57
-> ast:: node_id {
58
58
ret alt region {
59
59
ty : : re_caller ( def_id) { def_id. node }
60
- ty:: re_named ( _ ) { fail "TODO: named regions" }
60
+ ty:: re_named ( def_id ) { region_map . region_name_to_fn . get ( def_id ) }
61
61
ty:: re_block ( node_id) { node_id }
62
62
} ;
63
63
}
You can’t perform that action at this time.
0 commit comments