提交 2f8dbf21 编写于 作者: A Alex Crichton

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
上级 909fd0d8
......@@ -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
}
}
}
}
......
......@@ -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 () {
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册