Apparently you need to `rustup self update` before installing this version, and it will work. So if you've installed it, uninstall it, then update rustup, then reinstall it. Sorry about that! There was a miscommunication...
$ rustup component add rustfmt
error: toolchain 'stable-x86_64-pc-windows-msvc' does not contain component 'rustfmt' for target 'x86_64-pc-windows-msvc'
I looked for how to uninstall rust, and found that "the book" says that the command 'rustup self uninstall' will uninstall both rust and rustup. So I figured, what the heck, I'll start from scratch. I ran this command, uninstalling everything. Then I re-downloaded rustup-init.exe, and then ran it, reinstalling rust. I even then did 'rustup self update' and 'rustup update' for good measure.I still get the same error when trying to install rustfmt. What else is there to do if completely uninstalling and reinstalling doesn't work?
Thanks!
I'm still seeing the same behavior, even after following these directions.
> rustup self update
info: checking for self-updates
> rustup --version
rustup 1.15.0 (f0a3d9a84 2018-11-27)
Thanks for looking into this, though :)