]> git.proxmox.com Git - rustc.git/blame - vendor/structopt/tests/we_need_syn_full.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / structopt / tests / we_need_syn_full.rs
CommitLineData
f20569fa
XL
1// See https://github.com/TeXitoi/structopt/issues/354
2
3use structopt::StructOpt;
4
5#[test]
6fn we_need_syn_full() {
7 #[allow(unused)]
8 #[derive(Debug, StructOpt, Clone)]
9 struct Args {
10 #[structopt(
11 short = "c",
12 long = "colour",
13 help = "Output colouring",
14 default_value = "auto",
15 possible_values = &["always", "auto", "never"]
16 )]
17 colour: String,
18 }
19}