1error: `#[derive(Parser)]` only supports non-tuple structs and enums 2 --> tests/derive_ui/tuple_struct.rs:11:10 3 | 411 | #[derive(Parser, Debug)] 5 | ^^^^^^ 6 | 7 = note: this error originates in the derive macro `Parser` (in Nightly builds, run with -Z macro-backtrace for more info) 8 9error[E0599]: no function or associated item named `parse` found for struct `Opt` in the current scope 10 --> tests/derive_ui/tuple_struct.rs:16:20 11 | 1213 | struct Opt(u32); 13 | ---------- function or associated item `parse` not found for this struct 14... 1516 | let opt = Opt::parse(); 16 | ^^^^^ function or associated item not found in `Opt` 17 | 18 = help: items from traits can only be used if the trait is implemented and in scope 19 = note: the following traits define an item `parse`, perhaps you need to implement one of them: 20 candidate #1: `Parser` 21 candidate #2: `TypedValueParser` 22