2019-01-27 23:04:50 -06:00
|
|
|
error: expected expression, found `;`
|
|
|
|
--> $DIR/token-error-correct.rs:4:13
|
|
|
|
|
|
|
|
|
LL | foo(bar(;
|
|
|
|
| ^ expected expression
|
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
error: incorrect close delimiter: `}`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/token-error-correct.rs:6:1
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-09-04 10:09:49 -05:00
|
|
|
LL | fn main() {
|
|
|
|
| - close delimiter possibly meant for this
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foo(bar(;
|
2018-08-26 19:22:36 -05:00
|
|
|
| - un-closed delimiter
|
2018-08-14 20:04:20 -05:00
|
|
|
LL | //~^ ERROR: expected expression, found `;`
|
|
|
|
LL | }
|
|
|
|
| ^ incorrect close delimiter
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2018-08-15 16:26:03 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2016-11-30 16:35:25 -06:00
|
|
|
|