Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
YruamaLairba opened this issue Mar 2, 2020 · 1 comment
Closed
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@YruamaLairba
Copy link

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

@YruamaLairba YruamaLairba added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Mar 2, 2020
@ehuss
Copy link
Contributor

ehuss commented Mar 2, 2020

Thanks for the report. This is a duplicate of rust-lang/rust-clippy#3025 and #7850 and #5998, so closing in favor of those.

@ehuss ehuss closed this as completed Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

2 participants