mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-19 19:17:31 +00:00
test: Add test for #1821
This commit is contained in:
parent
e7024e9dd2
commit
f3dba33043
5
src/test/run-pass/issue-1821.rs
Normal file
5
src/test/run-pass/issue-1821.rs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// Issue #1821 - Don't recurse trying to typecheck this
|
||||||
|
enum t {
|
||||||
|
foo([t])
|
||||||
|
}
|
||||||
|
fn main() {}
|
Loading…
Reference in New Issue
Block a user