PageRenderTime 35ms CodeModel.GetById 32ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/compile-fail/infinite-vec-type-recursion.rs

http://github.com/jruderman/rust
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 = ~[]; }