Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
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
()
{
}