Skip to content

cargo dev update_lints --check is not failing even if it should #5510

@phansch

Description

@phansch

With the latest master checkout I'm getting:

cargo dev update_lints --check
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
     Running `clippy_dev/target/debug/clippy_dev update_lints --check`
error: regex `\[There are over \d+ lints included in this crate!\]\(https://rust-lang.github.io/rust-clippy/master/index.html\)` not found. You may have to update it.

But the exit code is 0 where it should be 1.

Metadata

Metadata

Assignees

Labels

C-bugCategory: Clippy is not doing the correct thing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions