rust/tests/ui/parser/use-unclosed-brace.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
688 B
Plaintext
Raw Normal View History

2021-04-08 18:35:04 -07:00
error: this file contains an unclosed delimiter
--> $DIR/use-unclosed-brace.rs:12:14
2021-04-08 18:35:04 -07:00
|
LL | use foo::{bar, baz;
| - unclosed delimiter
...
LL | fn main() {}
| ^
2021-04-08 18:35:04 -07:00
error: expected one of `,`, `::`, `as`, or `}`, found `;`
--> $DIR/use-unclosed-brace.rs:4:10
2021-04-08 18:35:04 -07:00
|
LL | use foo::{bar, baz;
| ^ ^
| | |
| | expected one of `,`, `::`, `as`, or `}`
| | help: `}` may belong here
2021-04-08 18:35:04 -07:00
| unclosed delimiter
error: expected item, found `}`
--> $DIR/use-unclosed-brace.rs:12:14
2021-04-08 18:35:04 -07:00
|
LL | fn main() {}
| ^ expected item
2021-04-08 18:35:04 -07:00
error: aborting due to 3 previous errors
2021-04-08 18:35:04 -07:00