Test fixes and rebase conflicts from rollups

PRs closed as part of this:

Closes #12212 r=alexcrichton
Closes #12215 r=brson
Closes #12246 r=pcwalton
Closes #12247 r=cmr
Closes #12251 r=brson
Closes #12255 r=alexcrichton
Closes #12257 r=alexcrichton
Closes #12258 r=huonw
Closes #12259 r=huonw
Closes #12263 r=kballard
Closes #12269 r=alexcrichton
This commit is contained in:
Alex Crichton 2014-02-14 08:42:23 -08:00
parent 909fd0d829
commit 2f8dbf2102
3 changed files with 11 additions and 2 deletions

View File

@ -117,7 +117,10 @@ fn call(&mut self) {
match *slot.get() {
(ref mut task, ref mut val) => {
*val = n;
task.take_unwrap()
match task.take() {
Some(t) => t,
None => return
}
}
}
}

View File

@ -14,7 +14,11 @@
struct Data(~Option<Data>);
fn generic<T>( _ : ~[(Data,T)] ) {let rec : ~[(Data,(bool,T))] = ~[]; generic( rec ); } //~ ERROR overly deep expansion of inlined function
fn generic<T>( _ : ~[(Data,T)] ) {
//~^ ERROR overly deep expansion of inlined function
let rec : ~[(Data,(bool,T))] = ~[];
generic( rec );
}
fn main () {

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-fast
extern mod green;
static mut DROP: int = 0i;