/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
- // error-pattern: mismatched types
- fn main() { while main { } }