• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: no rules expected the token `[`
2 --> $DIR/invalid-bounds.rs:3:1
3  |
43 | / pin_project! {
54 | |     struct Generics1<T: 'static : Sized> { //~ ERROR no rules expected the token `:`
65 | |         field: T,
76 | |     }
87 | | }
9  | |_^ no rules expected this token in macro call
10  |
11  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
12
13error: no rules expected the token `[`
14  --> $DIR/invalid-bounds.rs:9:1
15   |
169  | / pin_project! {
1710 | |     struct Generics2<T: 'static : ?Sized> { //~ ERROR no rules expected the token `:`
1811 | |         field: T,
1912 | |     }
2013 | | }
21   | |_^ no rules expected this token in macro call
22   |
23   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
24
25error: expected one of `+`, `,`, `=`, or `>`, found `:`
26  --> $DIR/invalid-bounds.rs:15:1
27   |
2815 | / pin_project! {
2916 | |     struct Generics3<T: Sized : 'static> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
3017 | |         field: T,
3118 | |     }
3219 | | }
33   | | ^
34   | | |
35   | | expected one of `+`, `,`, `=`, or `>`
36   | |_unexpected token
37   |   in this macro invocation
38   |
39   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
40
41error: expected one of `+`, `,`, `=`, or `>`, found `:`
42  --> $DIR/invalid-bounds.rs:21:1
43   |
4421 | / pin_project! {
4522 | |     struct Generics4<T: ?Sized : 'static> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
4623 | |         field: T,
4724 | |     }
4825 | | }
49   | | ^
50   | | |
51   | | expected one of `+`, `,`, `=`, or `>`
52   | |_unexpected token
53   |   in this macro invocation
54   |
55   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
56
57error: expected one of `+`, `,`, `=`, or `>`, found `:`
58  --> $DIR/invalid-bounds.rs:27:1
59   |
6027 | / pin_project! {
6128 | |     struct Generics5<T: Sized : ?Sized> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
6229 | |         field: T,
6330 | |     }
6431 | | }
65   | | ^
66   | | |
67   | | expected one of `+`, `,`, `=`, or `>`
68   | |_unexpected token
69   |   in this macro invocation
70   |
71   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
72
73error: no rules expected the token `[`
74  --> $DIR/invalid-bounds.rs:33:1
75   |
7633 | / pin_project! {
7734 | |     struct Generics6<T: ?Sized : Sized> { //~ ERROR no rules expected the token `Sized`
7835 | |         field: T,
7936 | |     }
8037 | | }
81   | |_^ no rules expected this token in macro call
82   |
83   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
84
85error: no rules expected the token `[`
86  --> $DIR/invalid-bounds.rs:39:1
87   |
8839 | / pin_project! {
8940 | |     struct WhereClause1<T>
9041 | |     where
9142 | |         T: 'static : Sized //~ ERROR no rules expected the token `:`
92...  |
9345 | |     }
9446 | | }
95   | |_^ no rules expected this token in macro call
96   |
97   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
98
99error: no rules expected the token `[`
100  --> $DIR/invalid-bounds.rs:48:1
101   |
10248 | / pin_project! {
10349 | |     struct WhereClause2<T>
10450 | |     where
10551 | |         T: 'static : ?Sized //~ ERROR no rules expected the token `:`
106...  |
10754 | |     }
10855 | | }
109   | |_^ no rules expected this token in macro call
110   |
111   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
112
113error: expected `where`, or `{` after struct name, found `:`
114  --> $DIR/invalid-bounds.rs:57:1
115   |
11657 | / pin_project! {
11758 | |     struct WhereClause3<T>
11859 | |     where
11960 | |         T: Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:`
120...  |
12163 | |     }
12264 | | }
123   | | ^
124   | | |
125   | |_expected `where`, or `{` after struct name
126   |   in this macro invocation
127   |
128   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
129
130error: expected `where`, or `{` after struct name, found `:`
131  --> $DIR/invalid-bounds.rs:66:1
132   |
13366 | / pin_project! {
13467 | |     struct WhereClause4<T>
13568 | |     where
13669 | |         T: ?Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:`
137...  |
13872 | |     }
13973 | | }
140   | | ^
141   | | |
142   | |_expected `where`, or `{` after struct name
143   |   in this macro invocation
144   |
145   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
146
147error: expected `where`, or `{` after struct name, found `:`
148  --> $DIR/invalid-bounds.rs:75:1
149   |
15075 | / pin_project! {
15176 | |     struct WhereClause5<T>
15277 | |     where
15378 | |         T: Sized : ?Sized //~ ERROR expected `where`, or `{` after struct name, found `:`
154...  |
15581 | |     }
15682 | | }
157   | | ^
158   | | |
159   | |_expected `where`, or `{` after struct name
160   |   in this macro invocation
161   |
162   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
163
164error: no rules expected the token `[`
165  --> $DIR/invalid-bounds.rs:84:1
166   |
16784 | / pin_project! {
16885 | |     struct WhereClause6<T>
16986 | |     where
17087 | |         T: ?Sized : Sized //~ ERROR no rules expected the token `Sized`
171...  |
17290 | |     }
17391 | | }
174   | |_^ no rules expected this token in macro call
175   |
176   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
177