rust/src/test/ui/parser/not-a-pred.stderr

9 lines
251 B
Plaintext
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: expected one of `->`, `where`, or `{`, found `:`
--> $DIR/not-a-pred.rs:3:26
2018-10-20 23:36:17 +03:00
|
LL | fn f(a: isize, b: isize) : lt(a, b) { }
| ^ expected one of `->`, `where`, or `{` here
error: aborting due to previous error