More test fixes and rebase conflicts

This commit is contained in:
Alex Crichton 2015-01-07 20:06:37 -08:00
parent ef46caebcc
commit 0abf458348
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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>;
}