1error[E0271]: type mismatch resolving `<C as ExternType>::Kind == Trivial`
2  --> tests/ui/unique_ptr_to_opaque.rs:22:25
3   |
422 |     cxx::UniquePtr::new(outside::C { a: 4 });
5   |     ------------------- ^^^^^^^^^^^^^^^^^^^ type mismatch resolving `<C as ExternType>::Kind == Trivial`
6   |     |
7   |     required by a bound introduced by this call
8   |
9note: expected this to be `Trivial`
10  --> tests/ui/unique_ptr_to_opaque.rs:8:21
11   |
128  |         type Kind = cxx::kind::Opaque;
13   |                     ^^^^^^^^^^^^^^^^^
14note: required by a bound in `UniquePtr::<T>::new`
15  --> src/unique_ptr.rs
16   |
17   |     pub fn new(value: T) -> Self
18   |            --- required by a bound in this associated function
19   |     where
20   |         T: ExternType<Kind = Trivial>,
21   |                       ^^^^^^^^^^^^^^ required by this bound in `UniquePtr::<T>::new`
22