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