aboutsummaryrefslogtreecommitdiff
path: root/structopt/tests/ui/struct_subcommand.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'structopt/tests/ui/struct_subcommand.stderr')
-rw-r--r--structopt/tests/ui/struct_subcommand.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/structopt/tests/ui/struct_subcommand.stderr b/structopt/tests/ui/struct_subcommand.stderr
new file mode 100644
index 0000000..438f6f8
--- /dev/null
+++ b/structopt/tests/ui/struct_subcommand.stderr
@@ -0,0 +1,5 @@
+error: subcommand is only allowed on fields
+ --> $DIR/struct_subcommand.rs:12:29
+ |
+12 | #[structopt(name = "basic", subcommand)]
+ | ^^^^^^^^^^