Error message on (successful) project creation
Closed this issue · 0 comments
marcoow commented
When I create a new project, I get an error:
» gerust hamburg-demo
ℹ️ Generating hamburg-demo…
`cargo metadata` exited with an error: error: could not find `Cargo.toml` in `/Users/marcoow/Desktop/hamburg-demo` or any parent directory
This utility formats all bin and lib files of the current crate using rustfmt.
Usage: cargo fmt [OPTIONS] [-- <rustfmt_options>...]
Arguments:
[rustfmt_options]... Options passed to rustfmt
Options:
-q, --quiet
No output printed to stdout
-v, --verbose
Use verbose output
--version
Print rustfmt version and exit
-p, --package <package>...
Specify package to format
--manifest-path <manifest-path>
Specify path to Cargo.toml
--message-format <message-format>
Specify message-format: short|json|human
--all
Format all packages, and also their local path-based dependencies
--check
Run rustfmt in check mode
-h, --help
Print help
✅ Generated hamburg-demo at /Users/marcoow/Desktop/hamburg-demo.
However, the project is created successfully anyway…