Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
static-default-lifetime
/
inner-item.rs
blob: 061b240a40d8b3b8b1e9e83c0be742e5c40a4797 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
struct
Foo
<
'a>(&'
a
());
impl
<
'a> Foo<'
a
>
{
fn
hello
(
self
)
{
const
INNER
:
&
str
=
""
;
}
}
impl
Foo
<
'
_
>
{
fn
implicit
(
self
)
{
const
INNER
:
&
str
=
""
;
}
fn
fn_lifetime
(&
self
)
{
const
INNER
:
&
str
=
""
;
}
}
fn
main
()
{}