1 error: return types are denoted using `->`
2 --> $DIR/not-a-pred.rs:1:26
4 LL | fn f(a: isize, b: isize) : lt(a, b) { }
5 | ^ help: use `->` instead
7 error[E0573]: expected type, found function `lt`
8 --> $DIR/not-a-pred.rs:1:28
10 LL | fn f(a: isize, b: isize) : lt(a, b) { }
13 error[E0573]: expected type, found local variable `a`
14 --> $DIR/not-a-pred.rs:1:31
16 LL | fn f(a: isize, b: isize) : lt(a, b) { }
19 error[E0573]: expected type, found local variable `b`
20 --> $DIR/not-a-pred.rs:1:34
22 LL | fn f(a: isize, b: isize) : lt(a, b) { }
25 error[E0425]: cannot find function `check` in this scope
26 --> $DIR/not-a-pred.rs:12:5
28 LL | check (lt(a, b));
29 | ^^^^^ not found in this scope
31 error: aborting due to 5 previous errors
33 Some errors have detailed explanations: E0425, E0573.
34 For more information about an error, try `rustc --explain E0425`.