Skip to content

Cargo can find cargo-clippy when searching, but not when installing #3850

@nertpinx

Description

@nertpinx

Output of the commands follows:

$ cargo search cargo-clippy 
    Updating registry `https://github.com/rust-lang/crates.io-index`
cargo-clippy (0.2.2)    A subcommand for cargo to perform linting on cargo projects. Can be used as a substitution for cargo-check.
clippy (0.0.120)        A bunch of helpful lints to avoid common pitfalls in Rust
$ cargo install cargo-clippy
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: could not find `cargo-clippy` in `registry https://github.com/rust-lang/crates.io-index`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions