Skip to content

cargo clippy --all misses crates that are not part of the workspace #2238

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

Open
gnzlbg opened this issue Nov 20, 2017 · 1 comment
Open

cargo clippy --all misses crates that are not part of the workspace #2238

gnzlbg opened this issue Nov 20, 2017 · 1 comment

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Nov 20, 2017

Currently cargo clippy --all applies to sub-crates that are part of a workpace. However, if the root crate is not part of a workspace, sub-crates in top-level directories are not considered. This behavior differs from cargo fmt --all, which also formats crates in the root directory that are not part of a workspace.

@sanmai-NL
Copy link
Contributor

Isn't the behavior of cargo fmt wrong, in your view?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants