aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/bad-long-names/bad-long-names.rs
blob: 61a96964c04b2a34d064658c669b965e248eff1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Command
#[derive(argh::FromArgs)]
struct Cmd {
    #[argh(switch)]
    /// non-ascii
    привет: bool,
    #[argh(switch)]
    /// uppercase
    XMLHTTPRequest: bool,
    #[argh(switch, long = "not really")]
    /// bad attr
    ok: bool,
}

fn main() {}