More test fixes and rebase conflicts
This commit is contained in:
parent
ef46caebcc
commit
0abf458348
@ -91,7 +91,7 @@ fn helper(input: libc::HANDLE, messages: Receiver<Req>, _: ()) {
|
||||
} else {
|
||||
let remove = {
|
||||
match &mut chans[idx as uint - 1] {
|
||||
&(ref mut c, oneshot) => { c.call(); oneshot }
|
||||
&mut (ref mut c, oneshot) => { c.call(); oneshot }
|
||||
}
|
||||
};
|
||||
if remove {
|
||||
|
@ -19,6 +19,6 @@ fn foo<'a>(x: Box<Tr+ Sync + 'a>) -> Box<Tr+ Sync + 'a> { x }
|
||||
fn main() {
|
||||
let x: Box<Tr+ Sync>;
|
||||
|
||||
box() 1i as Box<Tr+ Sync>;
|
||||
Box::new(1i) as Box<Tr+ Sync>;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user