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
In a workspace, determine if all crates have the same edition; if not, error.
Advantage
It's easy to forget to ensure that a new crate is at the same edition as the rest of the crates in a workspace, and it may be confusing if particular Rust features or idioms are not consistent across crates.
Drawbacks
There are plausible reasons to want different editions across a workspace. The lint should therefore be off by default.
Example
edition = "2021" in one workspace crate, and edition = "2024" in another