-
Implement lifetime elision for member function receivers (#660, #661)
#[cxx::bridge] mod ffi { unsafe extern "C++" { type Object<'a>; fn f(self: &Object); // elided lifetimes equivalent to `fn f<'a, 'b>(self: &'a Object<'b>)` fn g(self: Pin<&mut Object>); // elided lifetimes equivalent to `fn g<'a, 'b>(self: Pin<&'a mut Object<'b>>)` } }
-
Support
Vec<&str>
type (#662) -
Improve error messages when failing to parse an extern fn (#659)