PageRenderTime 31ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/compile-fail/while-type-error.rs

https://bitbucket.org/graydon/rust
Rust | 4 lines | 1 code | 2 blank | 1 comment | 1 complexity | bba17e46249f839ce6532f7b9c5c37ed MD5 | raw file
  1. // error-pattern: mismatched types
  2. fn main() { while main { } }