PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/src/test/compile-fail/type-recursive.rs

http://github.com/jruderman/rust
Rust | 4 lines | 2 code | 1 blank | 1 comment | 0 complexity | 022727e57f1525e93e1e0f4dd4b0b0c6 MD5 | raw file
1// error-pattern:illegal recursive type
2type t1 = {foo: int, foolish: t1};
3
4fn main() { }