aboutsummaryrefslogtreecommitdiff
path: root/structopt/tests/ui/non_existent_attr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'structopt/tests/ui/non_existent_attr.stderr')
-rw-r--r--structopt/tests/ui/non_existent_attr.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/structopt/tests/ui/non_existent_attr.stderr b/structopt/tests/ui/non_existent_attr.stderr
new file mode 100644
index 0000000..17bb87f
--- /dev/null
+++ b/structopt/tests/ui/non_existent_attr.stderr
@@ -0,0 +1,5 @@
+error[E0599]: no method named `non_existing_attribute` found for type `clap::args::arg::Arg<'_, '_>` in the current scope
+ --> $DIR/non_existent_attr.rs:14:24
+ |
+14 | #[structopt(short, non_existing_attribute = 1)]
+ | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `clap::args::arg::Arg<'_, '_>`