Fix fuzzer/cargo breakage
This commit is contained in:
parent
87a72567f0
commit
52c3cf296b
2 changed files with 3 additions and 3 deletions
|
|
@ -896,7 +896,7 @@ fn install_uuid(c: &Cargo, wd: &Path, uuid: ~str) {
|
|||
let mut ps = ~[];
|
||||
for_each_package(c, |s, p| {
|
||||
if p.uuid == uuid {
|
||||
vec::push(ps, (s.name, copy *p));
|
||||
vec::push(&mut ps, (s.name, copy *p));
|
||||
}
|
||||
});
|
||||
if vec::len(ps) == 1u {
|
||||
|
|
@ -920,7 +920,7 @@ fn install_named(c: &Cargo, wd: &Path, name: ~str) {
|
|||
let mut ps = ~[];
|
||||
for_each_package(c, |s, p| {
|
||||
if p.name == name {
|
||||
vec::push(ps, (s.name, copy *p));
|
||||
vec::push(&mut ps, (s.name, copy *p));
|
||||
}
|
||||
});
|
||||
if vec::len(ps) == 1u {
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ fn stash_ty_if(c: fn@(@ast::ty, test_mode)->bool,
|
|||
e: @ast::ty,
|
||||
tm: test_mode) {
|
||||
if c(e, tm) {
|
||||
es.push(e);
|
||||
es.push(*e);
|
||||
} else {/* now my indices are wrong :( */ }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue