aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/while-type-error.rs
blob: 07d7867e9901838fd3b915a36f1e3c2550d64bd1 (plain) (blame)
1
2
3
4
5
6
7
// error-pattern: mismatched types

fn main() {
  while (main) {
  }
}