rust/src/test/ui/issues/issue-44021.stderr

9 lines
213 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error: expected one of `:`, `@`, or `|`, found `}`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-44021.rs:3:18
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | fn f() {|x, y}
2018-07-15 16:11:54 -05:00
| ^ expected one of `:`, `@`, or `|` here
error: aborting due to previous error