diff options
| author | bors <bors@rust-lang.org> | 2015-04-01 14:42:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-01 14:42:16 +0000 |
| commit | d528aa9960cb9b937d8ef6c09905a6a8076d5f3a (patch) | |
| tree | e74bc5749004071f457bc770192023776f7696f9 /src/librustc_driver | |
| parent | 89436536246250ee3cbc47a61c31037ce7558c06 (diff) | |
| parent | f15813d086605775514210762ccfd61e21c25599 (diff) | |
| download | rust-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.rs | 1 |
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); |
