android13/external/rust/cxx/tests/ui/lifetime_extern_cxx.rs

10 lines
144 B
Rust

#[cxx::bridge]
mod ffi {
extern "C++" {
type Opaque;
unsafe fn f<'a>(&'a self, arg: &str) -> &'a str;
}
}
fn main() {}