@@ -10,6 +10,30 @@ error: expected non-macro attribute, found attribute macro `derive`
1010LL | #[derive(Clone)] 'a: 'static,
1111 | ^^^^^^ not a non-macro attribute
1212
13+ error: this attribute is not allowed on this target
14+ --> $DIR/unsupported_attribute.rs:16:7
15+ |
16+ LL | #[ignore] T: Trait,
17+ | ^^^^^^
18+
19+ error: this attribute is not allowed on this target
20+ --> $DIR/unsupported_attribute.rs:17:7
21+ |
22+ LL | #[ignore] 'a: 'static,
23+ | ^^^^^^
24+
25+ error: this attribute is not allowed on this target
26+ --> $DIR/unsupported_attribute.rs:26:7
27+ |
28+ LL | #[automatically_derived] T: Trait,
29+ | ^^^^^^^^^^^^^^^^^^^^^
30+
31+ error: this attribute is not allowed on this target
32+ --> $DIR/unsupported_attribute.rs:27:7
33+ |
34+ LL | #[automatically_derived] 'a: 'static,
35+ | ^^^^^^^^^^^^^^^^^^^^^
36+
1337error: most attributes are not supported in `where` clauses
1438 --> $DIR/unsupported_attribute.rs:14:5
1539 |
@@ -154,5 +178,5 @@ LL | #[rustfmt::skip] 'a: 'static,
154178 |
155179 = help: only `#[cfg]` and `#[cfg_attr]` are supported
156180
157- error: aborting due to 20 previous errors
181+ error: aborting due to 24 previous errors
158182
0 commit comments