Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
impl-trait
/
issues
/
issue-53457.rs
blob: de8c579743fc0e74b5666dcfae31593f0fd0a899 [
file
] [
log
] [
blame
]
// run-pass
#![
feature
(
type_alias_impl_trait
)]
type
X
=
impl
Clone
;
fn
bar
<
F
:
Fn
(&
i32
)
+
Clone
>(
f
:
F
)
->
F
{
f
}
fn
foo
()
->
X
{
bar
(|
x
|
())
}
fn
main
()
{}