Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #12766 - shnaramn:WarnAboutNameCase, r=epage
Warn about crate name's format when creating new crate ### What does this PR try to resolve? Warns about a crate's name during creation (`crate new ...`) if it doesn't follow the preferred snake_case format. Fixes #2708 The warning message uses the language mentioned in [RFC 430](https://github.com/rust-lang/rfcs/blob/master/text/0430-finalizing-naming-conventions.md#general-naming-conventions). ### How should we test and review this PR? Verified existing tests succeeded with updates. Added new tests to verify fix. ### Additional information The link to [API naming guidelines](https://rust-lang.github.io/api-guidelines/naming.html) was not used since it still stays `unclear` for naming convention for crates.
- Loading branch information