diff options
Diffstat (limited to 'src/test/ui/sized/recursive-type-1.rs')
-rw-r--r-- | src/test/ui/sized/recursive-type-1.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/sized/recursive-type-1.rs b/src/test/ui/sized/recursive-type-1.rs deleted file mode 100644 index cd6805967..000000000 --- a/src/test/ui/sized/recursive-type-1.rs +++ /dev/null @@ -1,10 +0,0 @@ -// 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() {} |