diff options
Diffstat (limited to 'src/test/ui/sized/coinductive-1.rs')
-rw-r--r-- | src/test/ui/sized/coinductive-1.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/sized/coinductive-1.rs b/src/test/ui/sized/coinductive-1.rs deleted file mode 100644 index 7bcd0f1fd..000000000 --- a/src/test/ui/sized/coinductive-1.rs +++ /dev/null @@ -1,14 +0,0 @@ -// check-pass -struct Node<C: Trait<Self>>(C::Assoc); - -trait Trait<T> { - type Assoc; -} - -impl<T> Trait<T> for Vec<()> { - type Assoc = Vec<T>; -} - -fn main() { - let _ = Node::<Vec<()>>(Vec::new()); -} |