aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/non_existent_attr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/non_existent_attr.stderr')
-rw-r--r--tests/ui/non_existent_attr.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/non_existent_attr.stderr b/tests/ui/non_existent_attr.stderr
new file mode 100644
index 0000000..99dc781
--- /dev/null
+++ b/tests/ui/non_existent_attr.stderr
@@ -0,0 +1,5 @@
+error[E0599]: no method named `non_existing_attribute` found for struct `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<'_, '_>`