]>
Commit | Line | Data |
---|---|---|
dc9dc135 XL |
1 | error: expected identifier, found reserved identifier `_` |
2 | --> $DIR/underscore_item_not_const.rs:6:11 | |
3 | | | |
4 | LL | const _: () = (); | |
5 | | ^ expected identifier, found reserved identifier | |
6 | ||
7 | error: expected identifier, found reserved identifier `_` | |
8 | --> $DIR/underscore_item_not_const.rs:9:11 | |
9 | | | |
10 | LL | const _: () = (); | |
11 | | ^ expected identifier, found reserved identifier | |
12 | ||
13 | error: expected identifier, found reserved identifier `_` | |
14 | --> $DIR/underscore_item_not_const.rs:12:11 | |
15 | | | |
16 | LL | const _: () = (); | |
17 | | ^ expected identifier, found reserved identifier | |
18 | ||
19 | error: expected identifier, found reserved identifier `_` | |
20 | --> $DIR/underscore_item_not_const.rs:17:8 | |
21 | | | |
22 | LL | static _: () = (); | |
23 | | ^ expected identifier, found reserved identifier | |
24 | ||
25 | error: expected identifier, found reserved identifier `_` | |
26 | --> $DIR/underscore_item_not_const.rs:18:8 | |
27 | | | |
28 | LL | struct _(); | |
29 | | ^ expected identifier, found reserved identifier | |
30 | ||
31 | error: expected identifier, found reserved identifier `_` | |
32 | --> $DIR/underscore_item_not_const.rs:19:6 | |
33 | | | |
34 | LL | enum _ {} | |
35 | | ^ expected identifier, found reserved identifier | |
36 | ||
37 | error: expected identifier, found reserved identifier `_` | |
38 | --> $DIR/underscore_item_not_const.rs:20:4 | |
39 | | | |
40 | LL | fn _() {} | |
41 | | ^ expected identifier, found reserved identifier | |
42 | ||
43 | error: expected identifier, found reserved identifier `_` | |
44 | --> $DIR/underscore_item_not_const.rs:21:5 | |
45 | | | |
46 | LL | mod _ {} | |
47 | | ^ expected identifier, found reserved identifier | |
48 | ||
49 | error: expected identifier, found reserved identifier `_` | |
50 | --> $DIR/underscore_item_not_const.rs:22:6 | |
51 | | | |
52 | LL | type _ = (); | |
53 | | ^ expected identifier, found reserved identifier | |
54 | ||
55 | error: expected identifier, found reserved identifier `_` | |
56 | --> $DIR/underscore_item_not_const.rs:23:5 | |
57 | | | |
58 | LL | use _; | |
59 | | ^ expected identifier, found reserved identifier | |
60 | ||
61 | error: expected identifier, found reserved identifier `_` | |
62 | --> $DIR/underscore_item_not_const.rs:24:5 | |
63 | | | |
64 | LL | use _ as g; | |
65 | | ^ expected identifier, found reserved identifier | |
66 | ||
67 | error: expected identifier, found reserved identifier `_` | |
68 | --> $DIR/underscore_item_not_const.rs:25:7 | |
69 | | | |
70 | LL | trait _ {} | |
71 | | ^ expected identifier, found reserved identifier | |
72 | ||
73 | error: expected identifier, found reserved identifier `_` | |
74 | --> $DIR/underscore_item_not_const.rs:26:7 | |
75 | | | |
76 | LL | trait _ = Copy; | |
77 | | ^ expected identifier, found reserved identifier | |
78 | ||
79 | error: expected identifier, found reserved identifier `_` | |
80 | --> $DIR/underscore_item_not_const.rs:27:14 | |
81 | | | |
82 | LL | macro_rules! _ { () => {} } | |
83 | | ^ expected identifier, found reserved identifier | |
84 | ||
e74abb32 | 85 | error: expected one of `!` or `::`, found reserved identifier `_` |
dc9dc135 XL |
86 | --> $DIR/underscore_item_not_const.rs:28:7 |
87 | | | |
88 | LL | union _ { f: u8 } | |
60c5eb7d | 89 | | ^ expected one of `!` or `::` |
dc9dc135 XL |
90 | |
91 | error: aborting due to 15 previous errors | |
92 |