1error: mutable reference to C++ type requires a pin -- use Pin<&mut Opaque> 2 --> tests/ui/pin_mut_opaque.rs:5:19 3 | 45 | fn f(arg: &mut Opaque); 5 | ^^^^^^^^^^^ 6 7error: mutable reference to C++ type requires a pin -- use Pin<&mut CxxString> 8 --> tests/ui/pin_mut_opaque.rs:8:17 9 | 108 | fn s(s: &mut CxxString); 11 | ^^^^^^^^^^^^^^ 12 13error: mutable reference to C++ type requires a pin -- use Pin<&mut CxxVector<...>> 14 --> tests/ui/pin_mut_opaque.rs:9:17 15 | 169 | fn v(v: &mut CxxVector<u8>); 17 | ^^^^^^^^^^^^^^^^^^ 18 19error: needs a cxx::ExternType impl in order to be used as a non-pinned mutable reference in signature of `f`, `g`, `h` 20 --> tests/ui/pin_mut_opaque.rs:4:9 21 | 224 | type Opaque; 23 | ^^^^^^^^^^^ 24 25error: mutable reference to opaque C++ type requires a pin -- use `self: Pin<&mut Opaque>` 26 --> tests/ui/pin_mut_opaque.rs:6:14 27 | 286 | fn g(&mut self); 29 | ^^^^^^^^^ 30 31error: mutable reference to opaque C++ type requires a pin -- use `self: Pin<&mut Opaque>` 32 --> tests/ui/pin_mut_opaque.rs:7:20 33 | 347 | fn h(self: &mut Opaque); 35 | ^^^^^^^^^^^ 36