Skip to content

Commit 183acc2

Browse files
committed
Merge pull request #1575 from tychosci/fix-cargo-install
Fix `cargo install *` fails at assertion.
2 parents abecc36 + 35cbcbe commit 183acc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/cargo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn load_pkg(filename: str) -> option::t<pkg> {
104104
let cm = codemap::new_codemap();
105105
let sess = @{
106106
cm: cm,
107-
mutable next_id: 0,
107+
mutable next_id: 1,
108108
diagnostic: diagnostic::mk_handler(cm, none)
109109
};
110110
let c = parser::parse_crate_from_crate_file(filename, [], sess);

0 commit comments

Comments
 (0)