Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
lifetimes
/
elided-lifetime-in-path-in-impl-Fn.rs
blob: 9c9965d8fb8b534eb97b70aa2405eba4bd710f5d [
file
] [
log
] [
blame
]
// check-pass
struct
Foo
<
'a>(&'
a
());
fn
with_fn
()
->
fn
(
Foo
)
{
|
_
|
()
}
fn
with_impl_fn
()
->
impl
Fn
(
Foo
)
{
|
_
|
()
}
fn
with_where_fn
<
T
>()
where
T
:
Fn
(
Foo
),
{
}
fn
main
()
{}