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