When using a custom rust-toolchain
file with a pinned version
1.59.0
and running cargo clippy
in 1.59.0
, I get
error: the 'cargo-clippy' binary, normally provided by the 'clippy' component, is not applicable to the '1.59.0-aarch64-apple-darwin' toolchain
How do I fix this?
This might be due to
rustup
being corrupted. The surest way to fix this is reinstallingrustup
rustup self uninstall