2016-11-30 16:35:25 -06:00
|
|
|
error: incorrect close delimiter: `}`
|
|
|
|
--> $DIR/token-error-correct.rs:23:1
|
|
|
|
|
|
|
|
|
23 | }
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: unclosed delimiter
|
|
|
|
--> $DIR/token-error-correct.rs:14:12
|
|
|
|
|
|
|
|
|
14 | foo(bar(;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: incorrect close delimiter: `}`
|
|
|
|
--> $DIR/token-error-correct.rs:23:1
|
|
|
|
|
|
|
|
|
23 | }
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: unclosed delimiter
|
|
|
|
--> $DIR/token-error-correct.rs:14:8
|
|
|
|
|
|
|
|
|
14 | foo(bar(;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: expected expression, found `;`
|
|
|
|
--> $DIR/token-error-correct.rs:14:13
|
|
|
|
|
|
|
|
|
14 | foo(bar(;
|
|
|
|
| ^
|
|
|
|
|
2017-07-07 17:31:03 -05:00
|
|
|
error: expected one of `)`, `,`, `.`, `<`, `?`, `break`, `continue`, `false`, `for`, `if`, `loop`, `match`, `move`, `return`, `true`, `unsafe`, `while`, `yield`, or an operator, found `;`
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/token-error-correct.rs:14:13
|
|
|
|
|
|
|
|
|
14 | foo(bar(;
|
2017-07-07 17:31:03 -05:00
|
|
|
| ^ expected one of 19 possible tokens here
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
|
|
error: expected expression, found `)`
|
|
|
|
--> $DIR/token-error-correct.rs:23:1
|
|
|
|
|
|
|
|
|
23 | }
|
|
|
|
| ^
|
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `foo` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/token-error-correct.rs:14:5
|
|
|
|
|
|
|
|
|
14 | foo(bar(;
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `bar` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/token-error-correct.rs:14:9
|
|
|
|
|
|
|
|
|
14 | foo(bar(;
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 7 previous errors
|
2016-11-30 16:35:25 -06:00
|
|
|
|