]> git.proxmox.com Git - rustc.git/blobdiff - vendor/structopt/tests/ui/parse_function_is_not_path.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / structopt / tests / ui / parse_function_is_not_path.stderr
diff --git a/vendor/structopt/tests/ui/parse_function_is_not_path.stderr b/vendor/structopt/tests/ui/parse_function_is_not_path.stderr
new file mode 100644 (file)
index 0000000..7cf7444
--- /dev/null
@@ -0,0 +1,5 @@
+error: `parse` argument must be a function path
+  --> $DIR/parse_function_is_not_path.rs:14:34
+   |
+14 |     #[structopt(parse(from_str = "2"))]
+   |                                  ^^^