Sign in
android
/
toolchain
/
rustc
/
cd1aefd586783f162dd848e314bd6991a5ffe033
/
.
/
vendor
/
cxx
/
tests
/
ui
/
lifetime_extern_rust.rs
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
()
{}