2016-11-30 16:35:25 -06:00
|
|
|
error: incorrect close delimiter: `}`
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/token-error-correct.rs:16:1
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foo(bar(;
|
2018-08-14 20:04:20 -05:00
|
|
|
| - unclosed delimiter
|
|
|
|
LL | //~^ ERROR: expected expression, found `;`
|
|
|
|
LL | }
|
|
|
|
| ^ incorrect close delimiter
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
|
|
error: incorrect close delimiter: `}`
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/token-error-correct.rs:16:1
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foo(bar(;
|
2018-08-14 20:04:20 -05:00
|
|
|
| - unclosed delimiter
|
|
|
|
LL | //~^ ERROR: expected expression, found `;`
|
|
|
|
LL | }
|
|
|
|
| ^ incorrect close delimiter
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
|
|
error: expected expression, found `;`
|
|
|
|
--> $DIR/token-error-correct.rs:14:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foo(bar(;
|
2018-02-19 01:08:23 -06:00
|
|
|
| ^ expected expression
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-12-14 01:05:49 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2016-11-30 16:35:25 -06:00
|
|
|
|