]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/bugs/issue-80626.rs
bless tests
[rust.git] / src / test / ui / generic-associated-types / bugs / issue-80626.rs
index f6aa6b36e13dcfb7907f3320b04248b9fa393fda..d6e18010f3b271a42810d91a153c53695950cf7c 100644 (file)
@@ -1,7 +1,4 @@
-// check-fail
-// known-bug: #80626
-
-// This should pass, but it requires `Sized` to be coinductive.
+// check-pass
 
 trait Allocator {
     type Allocated<T>;
@@ -9,7 +6,7 @@ trait Allocator {
 
 enum LinkedList<A: Allocator> {
     Head,
-    Next(A::Allocated<Self>)
+    Next(A::Allocated<Self>),
 }
 
 fn main() {}