You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
833 B
23 lines
833 B
error: Rust Vec containing C++ type is not supported yet
|
|
--> $DIR/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>
|
|
--> $DIR/vec_opaque.rs:11:9
|
|
|
|
|
11 | type Job;
|
|
| ^^^^^^^^
|
|
|
|
error[E0271]: type mismatch resolving `<handle::Job as ExternType>::Kind == Trivial`
|
|
--> $DIR/vec_opaque.rs:22:9
|
|
|
|
|
22 | type Job = crate::handle::Job;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Trivial`, found enum `cxx::kind::Opaque`
|
|
|
|
|
::: $WORKSPACE/src/extern_type.rs
|
|
|
|
|
| pub fn verify_extern_kind<T: ExternType<Kind = Kind>, Kind: self::Kind>() {}
|
|
| ----------- required by this bound in `verify_extern_kind`
|