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

Problem with running clippy --all-targets #123

Open
jwodder opened this issue Nov 21, 2023 · 0 comments
Open

Problem with running clippy --all-targets #123

jwodder opened this issue Nov 21, 2023 · 0 comments
Labels
bug Something isn't working t:ci Templating CI files under consideration Dev has not yet decided whether or how to implement

Comments

@jwodder
Copy link
Owner

jwodder commented Nov 21, 2023

If the non-test part of a package accidentally makes use of a crate or feature specific to the dev-dependencies, running clippy with --all-targets will not catch the mistake, as the dev-dependencies will be present when linting the non-test code. The CI template should be modified to catch such mistakes.

@jwodder jwodder added bug Something isn't working under consideration Dev has not yet decided whether or how to implement t:ci Templating CI files labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working t:ci Templating CI files under consideration Dev has not yet decided whether or how to implement
Projects
None yet
Development

No branches or pull requests

1 participant