Skip to content

Does not compile under rust 0.12.0-dev #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pierluc-codes opened this issue Sep 29, 2014 · 2 comments
Closed

Does not compile under rust 0.12.0-dev #10

pierluc-codes opened this issue Sep 29, 2014 · 2 comments

Comments

@pierluc-codes
Copy link

plcstpierre@lotus ~/projects/rust % rustc --version (master)
rustc 0.12.0-dev (1f3cda8bd 2014-09-29 17:18:07 +0000)

Could not compile git2.

--- stderr
/home/plcstpierre/.cargo/git/checkouts/git2-rs-cf258e7bcbaee34d/master/src/branch.rs:44:12: 44:16 error: expected identifier, found keyword move
/home/plcstpierre/.cargo/git/checkouts/git2-rs-cf258e7bcbaee34d/master/src/branch.rs:44 pub fn move(&mut self, new_branch_name: &str, force: bool,
^~~~
error: aborting due to previous error

@pierluc-codes
Copy link
Author

I think move is has become a keyword :(.

If I rename move for move2 it compiles.

@alexcrichton
Copy link
Member

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants