rust/src/test
Patrick Walton a9b929dbb6 librustc: Make sure region bounds on closures outlive calls to them.
This can break code like:

    fn call_rec(f: |uint| -> uint) -> uint {
        (|x| f(x))(call_rec(f))
    }

Change this code to use a temporary instead of violating the borrow
rules:

    fn call_rec(f: |uint| -> uint) -> uint {
        let tmp = call_rec(|x| f(x)); f(tmp)
    }

Closes #17144.

[breaking-change]
2014-09-11 12:00:56 -07:00
..
auxiliary
bench rollup merge of #17096 : TeXitoi/relicense-shootout-chameneos-redux 2014-09-09 12:07:13 -07:00
codegen
compile-fail librustc: Make sure region bounds on closures outlive calls to them. 2014-09-11 12:00:56 -07:00
compile-fail-fulldeps
debuginfo
pretty Decouple string and argument pieces 2014-09-09 20:34:41 +01:00
run-fail
run-make Added test for link path ordering 2014-09-07 11:42:02 +02:00
run-pass auto merge of #17110 : thestinger/rust/dst, r=cmr 2014-09-11 04:55:41 +00:00
run-pass-fulldeps Test fixes from the rollup 2014-09-09 13:13:04 -07:00