1 error: no rules expected the token `[`
2 --> $DIR/invalid-bounds.rs:3:1
5 4 | | struct Generics1<T: 'static : Sized> { //~ ERROR no rules expected the token `:`
9 | |_^ no rules expected this token in macro call
11 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
13 error: no rules expected the token `[`
14 --> $DIR/invalid-bounds.rs:9:1
17 10 | | struct Generics2<T: 'static : ?Sized> { //~ ERROR no rules expected the token `:`
21 | |_^ no rules expected this token in macro call
23 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
25 error: expected one of `+`, `,`, `=`, or `>`, found `:`
26 --> $DIR/invalid-bounds.rs:15:1
29 16 | | struct Generics3<T: Sized : 'static> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
35 | | expected one of `+`, `,`, `=`, or `>`
37 | in this macro invocation
39 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
41 error: expected one of `+`, `,`, `=`, or `>`, found `:`
42 --> $DIR/invalid-bounds.rs:21:1
45 22 | | struct Generics4<T: ?Sized : 'static> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
51 | | expected one of `+`, `,`, `=`, or `>`
53 | in this macro invocation
55 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
57 error: expected one of `+`, `,`, `=`, or `>`, found `:`
58 --> $DIR/invalid-bounds.rs:27:1
61 28 | | struct Generics5<T: Sized : ?Sized> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
67 | | expected one of `+`, `,`, `=`, or `>`
69 | in this macro invocation
71 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
73 error: no rules expected the token `[`
74 --> $DIR/invalid-bounds.rs:33:1
77 34 | | struct Generics6<T: ?Sized : Sized> { //~ ERROR no rules expected the token `Sized`
81 | |_^ no rules expected this token in macro call
83 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
85 error: no rules expected the token `[`
86 --> $DIR/invalid-bounds.rs:39:1
89 40 | | struct WhereClause1<T>
91 42 | | T: 'static : Sized //~ ERROR no rules expected the token `:`
95 | |_^ no rules expected this token in macro call
97 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
99 error: no rules expected the token `[`
100 --> $DIR/invalid-bounds.rs:48:1
102 48 | / pin_project! {
103 49 | | struct WhereClause2<T>
105 51 | | T: 'static : ?Sized //~ ERROR no rules expected the token `:`
109 | |_^ no rules expected this token in macro call
111 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
113 error: expected `where`, or `{` after struct name, found `:`
114 --> $DIR/invalid-bounds.rs:57:1
116 57 | / pin_project! {
117 58 | | struct WhereClause3<T>
119 60 | | T: Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:`
125 | |_expected `where`, or `{` after struct name
126 | in this macro invocation
128 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
130 error: expected `where`, or `{` after struct name, found `:`
131 --> $DIR/invalid-bounds.rs:66:1
133 66 | / pin_project! {
134 67 | | struct WhereClause4<T>
136 69 | | T: ?Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:`
142 | |_expected `where`, or `{` after struct name
143 | in this macro invocation
145 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
147 error: expected `where`, or `{` after struct name, found `:`
148 --> $DIR/invalid-bounds.rs:75:1
150 75 | / pin_project! {
151 76 | | struct WhereClause5<T>
153 78 | | T: Sized : ?Sized //~ ERROR expected `where`, or `{` after struct name, found `:`
159 | |_expected `where`, or `{` after struct name
160 | in this macro invocation
162 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
164 error: no rules expected the token `[`
165 --> $DIR/invalid-bounds.rs:84:1
167 84 | / pin_project! {
168 85 | | struct WhereClause6<T>
170 87 | | T: ?Sized : Sized //~ ERROR no rules expected the token `Sized`
174 | |_^ no rules expected this token in macro call
176 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)