@@ -154,5 +154,53 @@ LL | #[rustfmt::skip] 'a: 'static,
154
154
|
155
155
= help: only `#[cfg]` and `#[cfg_attr]` are supported
156
156
157
- error: aborting due to 20 previous errors
157
+ error: most attributes are not supported in `where` clauses
158
+ --> $DIR/unsupported_attribute.rs:36:5
159
+ |
160
+ LL | #[must_use] T: Trait,
161
+ | ^^^^^^^^^^^
162
+ |
163
+ = help: only `#[cfg]` and `#[cfg_attr]` are supported
164
+
165
+ error: most attributes are not supported in `where` clauses
166
+ --> $DIR/unsupported_attribute.rs:37:5
167
+ |
168
+ LL | #[must_use] 'a: 'static,
169
+ | ^^^^^^^^^^^
170
+ |
171
+ = help: only `#[cfg]` and `#[cfg_attr]` are supported
172
+
173
+ error: most attributes are not supported in `where` clauses
174
+ --> $DIR/unsupported_attribute.rs:38:5
175
+ |
176
+ LL | #[cold] T: Trait,
177
+ | ^^^^^^^
178
+ |
179
+ = help: only `#[cfg]` and `#[cfg_attr]` are supported
180
+
181
+ error: most attributes are not supported in `where` clauses
182
+ --> $DIR/unsupported_attribute.rs:39:5
183
+ |
184
+ LL | #[cold] 'a: 'static,
185
+ | ^^^^^^^
186
+ |
187
+ = help: only `#[cfg]` and `#[cfg_attr]` are supported
188
+
189
+ error: most attributes are not supported in `where` clauses
190
+ --> $DIR/unsupported_attribute.rs:40:5
191
+ |
192
+ LL | #[repr()] T: Trait,
193
+ | ^^^^^^^^^
194
+ |
195
+ = help: only `#[cfg]` and `#[cfg_attr]` are supported
196
+
197
+ error: most attributes are not supported in `where` clauses
198
+ --> $DIR/unsupported_attribute.rs:41:5
199
+ |
200
+ LL | #[repr()] 'a: 'static,
201
+ | ^^^^^^^^^
202
+ |
203
+ = help: only `#[cfg]` and `#[cfg_attr]` are supported
204
+
205
+ error: aborting due to 26 previous errors
158
206
0 commit comments