Closed igor-petruk closed 4 years ago
Having tested the following
nabijaczleweli@tarta:~$ cat .cargo/.crates.toml
[v1]
"https 1.6.0 (path+file:///home/nabijaczleweli/uwu/http)" = ["http", "httplz"]
"termimage 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = ["termimage"]
nabijaczleweli@tarta:~$ rustup component add clippy
info: downloading component 'clippy'
info: installing component 'clippy'
nabijaczleweli@tarta:~$ cat .cargo/.crates.toml
[v1]
"https 1.6.0 (path+file:///home/nabijaczleweli/uwu/http)" = ["http", "httplz"]
"termimage 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = ["termimage"]
If you have clippy
installed as a rustup
component, you probably shouldn't have it in your .crates.toml
. Try running cargo install --list
and see if it's listed there maybe?
Oh, I see. I did not know about that file. I think what happened in my case
cargo install
in the old daysrm
install-update
Thanks for help. I've removed the entry from .crates.toml
.
The issue can be closed, but it might be a good idea for the "Troubleshooting" entry in the documentation.
That's good to hear, and thank you for the suggestion!
Released in v2.4.0
It should somehow skip it