rust/tests/ui/typeck/while-type-error.rs

4 lines
66 B
Rust

//@ error-pattern: mismatched types
fn main() { while main { } }