This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Description
Thanks for this crate. It works in one of my crates where main returns anyhow::Result<()>.
But why doesn't this work? :)
error[E0277]: the trait bound `Args: ParseArgs` is not satisfied
--> src\main.rs:287:1
|
287 | #[paw::main]
| ^^^^^^^^^^^^ the trait `ParseArgs` is not implemented for `Args`
|
= note: required by `parse_args`
#[derive(StructOpt, Debug)]
struct Args {
// ...
}
#[paw::main]
fn main(args: Args) -> Result<(), Box<dyn Error>> {
// ...
}