We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5e3d2 commit beb7471Copy full SHA for beb7471
src/cargo/cargo.rs
@@ -705,7 +705,7 @@ fn configure(opts: Options) -> Cargo {
705
~" or package manager to get it to work correctly");
706
}
707
708
- c
+ move c
709
710
711
fn for_each_package(c: &Cargo, b: fn(s: @Source, p: &Package)) {
@@ -1615,10 +1615,10 @@ fn dump_sources(c: &Cargo) {
1615
_ => ()
1616
1617
1618
- hash.insert(copy k, json::Object(chash));
+ hash.insert(copy k, json::Object(move chash));
1619
1620
1621
- json::to_writer(writer, &json::Object(hash))
+ json::to_writer(writer, &json::Object(move hash))
1622
1623
result::Err(e) => {
1624
error(fmt!("could not dump sources: %s", e));
0 commit comments