Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
src
/
test
/
ui
/
issues
/
issue-25279.rs
blob: fdc516d3761ac13b78984f1b7a6614cad86c5d27 [
file
] [
log
] [
blame
]
// run-pass
struct
S
<
'a>(&'
a
());
impl
<
'a> S<'
a
>
{
fn
foo
(
self
)
->
&
'
a
()
{
<
Self
>::
bar
(
self
)
}
fn
bar
(
self
)
->
&
'
a
()
{
self
.
0
}
}
fn
main
()
{
S
(&()).
foo
();
}