]> git.proxmox.com Git - rustc.git/blobdiff - vendor/structopt/tests/ui/struct_subcommand.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / structopt / tests / ui / struct_subcommand.stderr
diff --git a/vendor/structopt/tests/ui/struct_subcommand.stderr b/vendor/structopt/tests/ui/struct_subcommand.stderr
new file mode 100644 (file)
index 0000000..438f6f8
--- /dev/null
@@ -0,0 +1,5 @@
+error: subcommand is only allowed on fields
+  --> $DIR/struct_subcommand.rs:12:29
+   |
+12 | #[structopt(name = "basic", subcommand)]
+   |                             ^^^^^^^^^^