@@ -22,6 +22,30 @@ error: this attribute is not allowed on this target
2222LL | #[ignore] 'a: 'static,
2323 | ^^^^^^
2424
25+ error: this attribute is not allowed on this target
26+ --> $DIR/unsupported_attribute.rs:20:7
27+ |
28+ LL | #[macro_use] T: Trait,
29+ | ^^^^^^^^^
30+
31+ error: this attribute is not allowed on this target
32+ --> $DIR/unsupported_attribute.rs:21:7
33+ |
34+ LL | #[macro_use] 'a: 'static,
35+ | ^^^^^^^^^
36+
37+ error: this attribute is not allowed on this target
38+ --> $DIR/unsupported_attribute.rs:24:7
39+ |
40+ LL | #[deprecated] T: Trait,
41+ | ^^^^^^^^^^
42+
43+ error: this attribute is not allowed on this target
44+ --> $DIR/unsupported_attribute.rs:25:7
45+ |
46+ LL | #[deprecated] 'a: 'static,
47+ | ^^^^^^^^^^
48+
2549error: this attribute is not allowed on this target
2650 --> $DIR/unsupported_attribute.rs:26:7
2751 |
@@ -50,22 +74,6 @@ LL | #[doc = "doc"] 'a: 'static,
5074 |
5175 = help: only `#[cfg]` and `#[cfg_attr]` are supported
5276
53- error: most attributes are not supported in `where` clauses
54- --> $DIR/unsupported_attribute.rs:16:5
55- |
56- LL | #[ignore] T: Trait,
57- | ^^^^^^^^^
58- |
59- = help: only `#[cfg]` and `#[cfg_attr]` are supported
60-
61- error: most attributes are not supported in `where` clauses
62- --> $DIR/unsupported_attribute.rs:17:5
63- |
64- LL | #[ignore] 'a: 'static,
65- | ^^^^^^^^^
66- |
67- = help: only `#[cfg]` and `#[cfg_attr]` are supported
68-
6977error: most attributes are not supported in `where` clauses
7078 --> $DIR/unsupported_attribute.rs:18:5
7179 |
@@ -82,22 +90,6 @@ LL | #[should_panic] 'a: 'static,
8290 |
8391 = help: only `#[cfg]` and `#[cfg_attr]` are supported
8492
85- error: most attributes are not supported in `where` clauses
86- --> $DIR/unsupported_attribute.rs:20:5
87- |
88- LL | #[macro_use] T: Trait,
89- | ^^^^^^^^^^^^
90- |
91- = help: only `#[cfg]` and `#[cfg_attr]` are supported
92-
93- error: most attributes are not supported in `where` clauses
94- --> $DIR/unsupported_attribute.rs:21:5
95- |
96- LL | #[macro_use] 'a: 'static,
97- | ^^^^^^^^^^^^
98- |
99- = help: only `#[cfg]` and `#[cfg_attr]` are supported
100-
10193error: most attributes are not supported in `where` clauses
10294 --> $DIR/unsupported_attribute.rs:22:5
10395 |
@@ -114,38 +106,6 @@ LL | #[allow(unused)] 'a: 'static,
114106 |
115107 = help: only `#[cfg]` and `#[cfg_attr]` are supported
116108
117- error: most attributes are not supported in `where` clauses
118- --> $DIR/unsupported_attribute.rs:24:5
119- |
120- LL | #[deprecated] T: Trait,
121- | ^^^^^^^^^^^^^
122- |
123- = help: only `#[cfg]` and `#[cfg_attr]` are supported
124-
125- error: most attributes are not supported in `where` clauses
126- --> $DIR/unsupported_attribute.rs:25:5
127- |
128- LL | #[deprecated] 'a: 'static,
129- | ^^^^^^^^^^^^^
130- |
131- = help: only `#[cfg]` and `#[cfg_attr]` are supported
132-
133- error: most attributes are not supported in `where` clauses
134- --> $DIR/unsupported_attribute.rs:26:5
135- |
136- LL | #[automatically_derived] T: Trait,
137- | ^^^^^^^^^^^^^^^^^^^^^^^^
138- |
139- = help: only `#[cfg]` and `#[cfg_attr]` are supported
140-
141- error: most attributes are not supported in `where` clauses
142- --> $DIR/unsupported_attribute.rs:27:5
143- |
144- LL | #[automatically_derived] 'a: 'static,
145- | ^^^^^^^^^^^^^^^^^^^^^^^^
146- |
147- = help: only `#[cfg]` and `#[cfg_attr]` are supported
148-
149109error: most attributes are not supported in `where` clauses
150110 --> $DIR/unsupported_attribute.rs:28:5
151111 |
@@ -178,5 +138,5 @@ LL | #[rustfmt::skip] 'a: 'static,
178138 |
179139 = help: only `#[cfg]` and `#[cfg_attr]` are supported
180140
181- error: aborting due to 24 previous errors
141+ error: aborting due to 20 previous errors
182142
0 commit comments