Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
sized
/
recursive-type-pass.rs
blob: cd6805967e524e2d860104818365d90157332431 [
file
] [
log
] [
blame
]
// check-pass
trait
A
{
type
Assoc
;
}
impl
A
for
()
{
// FIXME: it would be nice for this to at least cause a warning.
type
Assoc
=
Foo
<()>;
}
struct
Foo
<
T
:
A
>(
T
::
Assoc
);
fn
main
()
{}