Vendor dependencies

Let's see how I like this workflow.
This commit is contained in:
John Doty 2022-12-19 08:27:18 -08:00
parent 34d1830413
commit 9c435dc440
7500 changed files with 1665121 additions and 99 deletions

23
vendor/cxx/tests/ui/vec_opaque.stderr vendored Normal file
View file

@ -0,0 +1,23 @@
error: Rust Vec containing C++ type is not supported yet
--> tests/ui/vec_opaque.rs:15:19
|
15 | fn f() -> Vec<Job>;
| ^^^^^^^^
error: needs a cxx::ExternType impl in order to be used as a vector element in Vec<Job>
--> tests/ui/vec_opaque.rs:11:9
|
11 | type Job;
| ^^^^^^^^
error[E0271]: type mismatch resolving `<handle::Job as ExternType>::Kind == Trivial`
--> tests/ui/vec_opaque.rs:22:14
|
22 | type Job = crate::handle::Job;
| ^^^ expected enum `Trivial`, found enum `Opaque`
|
note: required by a bound in `verify_extern_kind`
--> src/extern_type.rs
|
| pub fn verify_extern_kind<T: ExternType<Kind = Kind>, Kind: self::Kind>() {}
| ^^^^^^^^^^^ required by this bound in `verify_extern_kind`