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