blob: 4f7b1aed0978e3a6fd7ba602c0bf4c1801b4f9c2 (
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
28
29
|
error: no rules expected the token `}`
--> $DIR/unsupported.rs:4:21
|
4 | struct Struct1 {} //~ ERROR no rules expected the token `}`
| ^ no rules expected this token in macro call
error: no rules expected the token `(`
--> $DIR/unsupported.rs:8:19
|
8 | struct Struct2(); //~ ERROR no rules expected the token `(`
| ^ no rules expected this token in macro call
error: no rules expected the token `;`
--> $DIR/unsupported.rs:12:19
|
12 | struct Struct3; //~ ERROR no rules expected the token `;`
| ^ no rules expected this token in macro call
error: no rules expected the token `enum`
--> $DIR/unsupported.rs:16:5
|
16 | enum Enum { //~ ERROR no rules expected the token `enum`
| ^^^^ no rules expected this token in macro call
error: no rules expected the token `union`
--> $DIR/unsupported.rs:22:5
|
22 | union Union { //~ ERROR no rules expected the token `union`
| ^^^^^ no rules expected this token in macro call
|