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