]> git.proxmox.com Git - rustc.git/blobdiff - vendor/structopt/tests/ui/external_subcommand_wrong_type.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / vendor / structopt / tests / ui / external_subcommand_wrong_type.stderr
diff --git a/vendor/structopt/tests/ui/external_subcommand_wrong_type.stderr b/vendor/structopt/tests/ui/external_subcommand_wrong_type.stderr
new file mode 100644 (file)
index 0000000..1966225
--- /dev/null
@@ -0,0 +1,8 @@
+error[E0308]: mismatched types
+  --> $DIR/external_subcommand_wrong_type.rs:13:15
+   |
+13 |     Other(Vec<CString>)
+   |               ^^^^^^^ expected struct `std::ffi::CString`, found struct `std::ffi::OsString`
+   |
+   = note: expected struct `std::vec::Vec<std::ffi::CString>`
+              found struct `std::vec::Vec<std::ffi::OsString>`