blob: 19d76a3beef3dcbff75f91b79823e9fdb2baa289 (
plain)
1
2
3
4
5
6
7
|
error[E0271]: type mismatch resolving `<outside::C as ExternType>::Kind == Trivial`
--> $DIR/unique_ptr_to_opaque.rs:22:5
|
22 | cxx::UniquePtr::new(outside::C { a: 4 });
| ^^^^^^^^^^^^^^^^^^^ expected enum `Trivial`, found enum `cxx::kind::Opaque`
|
= note: required by `UniquePtr::<T>::new`
|