1error: subcommand is only allowed on fields 2 --> $DIR/struct_subcommand.rs:12:29 3 | 412 | #[structopt(name = "basic", subcommand)] 5 | ^^^^^^^^^^ 6