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