You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo fmt supports a --all flag for operating on all members in a workspace. cargo check also supports --all for the same purpose, but this is deprecated in favor of --workspace, which is an alias with no semantic difference. Other tools based on cargo check, like cargo clippy, inherit the ability to use --workspace. The inability to use --workspace in an official tool thus feels inconsistent.
For reference, here's the PR where cargo clippy switched to using cargo check's manifest handling, which had the effect of removing their own bespoke --all flag: rust-lang/rust-clippy#2585 .
It would be nice for all of the officially-provided tools to present consistent interfaces.
The text was updated successfully, but these errors were encountered:
cargo fmt
supports a--all
flag for operating on all members in a workspace.cargo check
also supports--all
for the same purpose, but this is deprecated in favor of--workspace
, which is an alias with no semantic difference. Other tools based oncargo check
, likecargo clippy
, inherit the ability to use--workspace
. The inability to use--workspace
in an official tool thus feels inconsistent.For reference, here's the PR where
cargo clippy
switched to usingcargo check
's manifest handling, which had the effect of removing their own bespoke--all
flag: rust-lang/rust-clippy#2585 .It would be nice for all of the officially-provided tools to present consistent interfaces.
The text was updated successfully, but these errors were encountered: