aboutsummaryrefslogtreecommitdiff
path: root/structopt/tests/ui/subcommand_and_parse.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'structopt/tests/ui/subcommand_and_parse.stderr')
-rw-r--r--structopt/tests/ui/subcommand_and_parse.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/structopt/tests/ui/subcommand_and_parse.stderr b/structopt/tests/ui/subcommand_and_parse.stderr
new file mode 100644
index 0000000..4070056
--- /dev/null
+++ b/structopt/tests/ui/subcommand_and_parse.stderr
@@ -0,0 +1,5 @@
+error: parse attribute is not allowed for subcommand
+ --> $DIR/subcommand_and_parse.rs:17:29
+ |
+17 | #[structopt(subcommand, parse(from_occurrences))]
+ | ^^^^^