Sign in
fuchsia
/
third_party
/
rust
/
d5e5ef5c8958d3e59969652821d3cd0b8e185345
/
.
/
tests
/
ui
/
lifetimes
/
elided-lifetime-in-path-in-impl-Fn.rs
blob: f821b83f37ae0bef5a19534f9cc43cf4b559dcbe [
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
()
{}