-
Couldn't load subscription status.
- Fork 2.7k
Closed
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.C-bugCategory: bugCategory: bug
Description
Problem
Problem is that cargo gives an error "error: Package names starting with a digit cannot be used as a crate name" rather than creating a project with name beginning with number.
Steps
run this:
cargo new 1-hello-world
Possible Solution(s)
Notes
There is the additional output in the console, "use --name to override crate name", but I'm not really sure how to change my command to make it work. 🤔
Output of cargo version: cargo 1.42.0 (8633429 2020-01-31)
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.C-bugCategory: bugCategory: bug