We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b62e80c commit c35bf9cCopy full SHA for c35bf9c
src/test/compile-fail/occurs-check-3.rs
@@ -0,0 +1,4 @@
1
+// error-pattern:mismatched types
2
+// From Issue #778
3
+tag clam[T] { a(T); }
4
+fn main() { let c = a(c); alt c { a[int](_) { } } }
0 commit comments