/src/test/compile-fail/infinite-vec-type-recursion.rs
Rust | 6 lines | 2 code | 2 blank | 2 comment | 0 complexity | df4c0f59281173291a438a4050f0940c MD5 | raw file
1// -*- rust -*- 2// error-pattern: illegal recursive type 3 4type x = ~[x]; 5 6fn main() { let b: x = ~[]; }