rust/src/test/ui/resolve/token-error-correct.stderr

57 lines
1.3 KiB
Plaintext
Raw Normal View History

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 `;`
--> $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
error: expected expression, found `)`
--> $DIR/token-error-correct.rs:23:1
|
23 | }
| ^
error[E0425]: cannot find function `foo` in this scope
--> $DIR/token-error-correct.rs:14:5
|
14 | foo(bar(;
| ^^^ not found in this scope
error[E0425]: cannot find function `bar` in this scope
--> $DIR/token-error-correct.rs:14:9
|
14 | foo(bar(;
| ^^^ not found in this scope
error: aborting due to 7 previous errors