blob: 72c37cba7c603fe34c93a66557d6eb1067648963 [file] [log] [blame]
#[cxx::bridge]
mod ffi {
extern "Rust" {
type Opaque;
fn f<'a>(&'a self, arg: &str) -> &'a str;
}
}
pub struct Opaque;
impl Opaque {
fn f(&self, _arg: &str) -> &str {
""
}
}
fn main() {}