These are chat archives for rust-lang/rust
rustup updateand got a warning saying I should delete my rustfmt and cargo-fmt binaries in
~/.cargo/bin/. I did that, and now I cannot get rustfmt back. I've been searching and found the issue and blog post by nrc, but I still haven't been able to get it back by running
rustup component add rustfmtor any cargo commands. Any ideas?
cargo install --force rustfmt-nightlyto finally get it to work. The
--forcewas the important missing part. Even after the clean install.