Skip to content

Commit 7b80f61

Browse files
committed
---
yaml --- r: 14799 b: refs/heads/try c: db77c38 h: refs/heads/master i: 14797: c202178 14795: 191d46f 14791: 2ec0535 14783: 5ff19c0 v: v3
1 parent 3b68d68 commit 7b80f61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 864ff4707e21fc038ae33e2aed31264a39c5dac7
5+
refs/heads/try: db77c38fc9048e5467ab85d1855110f894d380f4
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustc/middle/region.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ type ctxt = {
5353
in_alt: bool
5454
};
5555

56-
fn region_to_scope(_region_map: @region_map, region: ty::region)
56+
fn region_to_scope(region_map: @region_map, region: ty::region)
5757
-> ast::node_id {
5858
ret alt region {
5959
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) }
6161
ty::re_block(node_id) { node_id }
6262
};
6363
}

0 commit comments

Comments
 (0)