Robzz / cargo-docset

Cargo subcommand to generate a Dash/Zeal docset for your Rust packages.
Apache License 2.0
100 stars 4 forks source link

Improve error output #6

Closed Robzz closed 5 years ago

Robzz commented 5 years ago

The current way to do error output is a bit lazy and relies on returning an error from main, which gives us this:

Error: Cargo { source: ErrorMessage { msg: "the lock file /home/robzz/repos/diesel/Cargo.lock needs to be updated but --locked was passed to prevent this" } }