summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/use-unclosed-brace.stderr
blob: 438fe9c47eac1ac447ef28181a9b832e7ae4a8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
error: this file contains an unclosed delimiter
  --> $DIR/use-unclosed-brace.rs:12:14
   |
LL | use foo::{bar, baz;
   |          - unclosed delimiter
...
LL | fn main() {}
   |              ^

error: expected one of `,`, `::`, `as`, or `}`, found `;`
  --> $DIR/use-unclosed-brace.rs:4:10
   |
LL | use foo::{bar, baz;
   |          ^        ^
   |          |        |
   |          |        expected one of `,`, `::`, `as`, or `}`
   |          |        help: `}` may belong here
   |          unclosed delimiter

error: expected item, found `}`
  --> $DIR/use-unclosed-brace.rs:12:14
   |
LL | fn main() {}
   |              ^ expected item

error: aborting due to 3 previous errors