Rustfmt, cargo-fmt

Hi,

after running rustup update rustfmt and cargo-fmt are no longer available neither on stable nor on nightly. Is there a way to downgrade somehow to get those tools back?
error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not have the binary rustfmt

Yes, having same issue.

https://github.com/rust-lang-nursery/rls/issues/535#issuecomment-349114716

Installed nightly according following instructions:
https://doc.rust-lang.org/1.5.0/book/nightly-rust.html

Now it works

In case someone is interested in knowing why rustfmt (and other tools) fail, here is the link describing the issue: Rustfmt changes

Thanks to scottmcm3 (in #rust-beginners irc) for pointing it out.

1 Like