Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
type-alias-impl-trait
/
type-alias-impl-trait-with-cycle-error.rs
blob: c009952eab75051197e6698707e3e6d57120f40c [
file
] [
log
] [
blame
]
#![
feature
(
type_alias_impl_trait
)]
type
Foo
=
impl
Fn
()
->
Foo
;
//~^ ERROR: could not find defining uses
fn
crash
(
x
:
Foo
)
->
Foo
{
x
}
fn
main
()
{
}