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

http://github.com/jruderman/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 { } }