]> git.proxmox.com Git - rustc.git/blobdiff - vendor/structopt/tests/ui/non_existent_attr.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / structopt / tests / ui / non_existent_attr.stderr
diff --git a/vendor/structopt/tests/ui/non_existent_attr.stderr b/vendor/structopt/tests/ui/non_existent_attr.stderr
new file mode 100644 (file)
index 0000000..99dc781
--- /dev/null
@@ -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<'_, '_>`