diff options
Diffstat (limited to 'structopt/tests/ui/struct_parse.stderr')
-rw-r--r-- | structopt/tests/ui/struct_parse.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/structopt/tests/ui/struct_parse.stderr b/structopt/tests/ui/struct_parse.stderr new file mode 100644 index 0000000..5518214 --- /dev/null +++ b/structopt/tests/ui/struct_parse.stderr @@ -0,0 +1,5 @@ +error: `parse` attribute is only allowed on fields + --> $DIR/struct_parse.rs:12:29 + | +12 | #[structopt(name = "basic", parse(from_str))] + | ^^^^^ |