diff options
Diffstat (limited to 'structopt/tests/ui/subcommand_and_methods.stderr')
-rw-r--r-- | structopt/tests/ui/subcommand_and_methods.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/structopt/tests/ui/subcommand_and_methods.stderr b/structopt/tests/ui/subcommand_and_methods.stderr new file mode 100644 index 0000000..ccaf28d --- /dev/null +++ b/structopt/tests/ui/subcommand_and_methods.stderr @@ -0,0 +1,5 @@ +error: methods in attributes are not allowed for subcommand + --> $DIR/subcommand_and_methods.rs:17:17 + | +17 | #[structopt(subcommand, long)] + | ^^^^^^^^^^ |