Skip to content

cargo check/clippy: filter out warning report from external crate ? #7957

@YruamaLairba

Description

@YruamaLairba

Describe the problem you are trying to solve

Describe the solution you'd like

Notes

Hello,
When i run cargo clippy or cargo check from CLI, I also get warning report for external crate. I'd like to filter this out to get only warning coming from my current project. I Already tried to use -p or --bin _NAME_, but it don't give the result i want.

So, an option to filter out report for external crate would be useful, especially when using cargo clippy -- D OPT in continuous integration tool like travis to enforce particular coding style in a project

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions