aboutsummaryrefslogtreecommitdiff
path: root/structopt/tests/ui/parse_function_is_not_path.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'structopt/tests/ui/parse_function_is_not_path.stderr')
-rw-r--r--structopt/tests/ui/parse_function_is_not_path.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/structopt/tests/ui/parse_function_is_not_path.stderr b/structopt/tests/ui/parse_function_is_not_path.stderr
new file mode 100644
index 0000000..7cf7444
--- /dev/null
+++ b/structopt/tests/ui/parse_function_is_not_path.stderr
@@ -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"))]
+ | ^^^