about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-01 14:42:16 +0000
committerbors <bors@rust-lang.org>2015-04-01 14:42:16 +0000
commitd528aa9960cb9b937d8ef6c09905a6a8076d5f3a (patch)
treee74bc5749004071f457bc770192023776f7696f9 /src/librustc_driver
parent89436536246250ee3cbc47a61c31037ce7558c06 (diff)
parentf15813d086605775514210762ccfd61e21c25599 (diff)
downloadrust-d528aa9960cb9b937d8ef6c09905a6a8076d5f3a.tar.gz
rust-d528aa9960cb9b937d8ef6c09905a6a8076d5f3a.zip
Auto merge of #23109 - nikomatsakis:closure-region-hierarchy, r=pnkfelix
Adjust internal treatment of the region hierarchy around closures. Work towards #3696.

r? @pnkfelix 
Diffstat (limited to 'src/librustc_driver')
-rw-r--r--src/librustc_driver/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs
index b0fc5fbcb50..ed4d30f300c 100644
--- a/src/librustc_driver/test.rs
+++ b/src/librustc_driver/test.rs
@@ -588,6 +588,7 @@ fn lub_free_free() {
 fn lub_returning_scope() {
     test_env(EMPTY_SOURCE_STR,
              errors(&["cannot infer an appropriate lifetime"]), |env| {
+                 env.create_simple_region_hierarchy();
                  let t_rptr_scope10 = env.t_rptr_scope(10);
                  let t_rptr_scope11 = env.t_rptr_scope(11);