我跑去rustup update
更新我的工具链并看到两个警告:
warning: tool `rustfmt` is already installed, remove it from `/Users/<username>/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
warning: tool `cargo-fmt` is already installed, remove it from `/Users/<username>/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
我按照警告消息中的说明进行操作,然后尝试rustfmt
再次运行。我得到了错误
error: toolchain 'stable-x86_64-apple-darwin' does not have the binary rustfmt`
出了什么问题,我该如何解决?