You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed there was a new version of rustfmt out and decided to upgrade. When I ran cargo install to update it I got an error about rustfmt already being installed. So I start looking through the --help output and can't find a --upgrade flag of any sort.
I was able to fix my issue by running cargo install cargo to get to cargo 0.8 and then ~/.cargo/bin/cargo uninstall rustfmt && cargo install rustfmt but it should be easier than this. If no one objects I'd like to add an --upgrade flag to cargo. Does adding new flags require an RFC?
Output
[I] Aldgate ~$ cargo install rustfmt
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading rustfmt v0.3.0
binary `cargo-fmt` already exists in destination as part of `rustfmt v0.2.1`
Cargo Version
[I] Aldgate ~$ which cargo && cargo version
/usr/local/bin/cargo
cargo 0.7.0 (1af03be 2015-12-08)
The text was updated successfully, but these errors were encountered:
We do indeed have an issue for this! I'm gonna close this as a dupe of #2082, but as @steveklabnik you'll just need to uninstall and then reinstall for now
I noticed there was a new version of
rustfmt
out and decided to upgrade. When I rancargo install
to update it I got an error aboutrustfmt
already being installed. So I start looking through the--help
output and can't find a--upgrade
flag of any sort.I was able to fix my issue by running
cargo install cargo
to get to cargo 0.8 and then~/.cargo/bin/cargo uninstall rustfmt && cargo install rustfmt
but it should be easier than this. If no one objects I'd like to add an--upgrade
flag to cargo. Does adding new flags require an RFC?Output
Cargo Version
The text was updated successfully, but these errors were encountered: