Skip to content

Commit f3dba33

Browse files
committed
test: Add test for #1821
1 parent e7024e9 commit f3dba33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/run-pass/issue-1821.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Issue #1821 - Don't recurse trying to typecheck this
2+
enum t {
3+
foo([t])
4+
}
5+
fn main() {}

0 commit comments

Comments
 (0)