1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
error: expected non-macro attribute, found attribute macro `derive`
--> $DIR/unsupported_attribute.rs:28:7
|
LL | #[derive(Clone)] T: Trait,
| ^^^^^^ not a non-macro attribute
error: expected non-macro attribute, found attribute macro `derive`
--> $DIR/unsupported_attribute.rs:31:7
|
LL | #[derive(Clone)] 'a: 'static,
| ^^^^^^ not a non-macro attribute
error: `#[ignore]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:16:5
|
LL | #[ignore] T: Trait,
| ^^^^^^^^^
|
= help: `#[ignore]` can only be applied to functions
error: `#[ignore]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:17:5
|
LL | #[ignore] 'a: 'static,
| ^^^^^^^^^
|
= help: `#[ignore]` can only be applied to functions
error: `#[should_panic]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:18:5
|
LL | #[should_panic] T: Trait,
| ^^^^^^^^^^^^^^^
|
= help: `#[should_panic]` can only be applied to functions
error: `#[should_panic]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:19:5
|
LL | #[should_panic] 'a: 'static,
| ^^^^^^^^^^^^^^^
|
= help: `#[should_panic]` can only be applied to functions
error: `#[macro_use]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:20:5
|
LL | #[macro_use] T: Trait,
| ^^^^^^^^^^^^
|
= help: `#[macro_use]` can be applied to modules, extern crates, and crates
error: `#[macro_use]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:21:5
|
LL | #[macro_use] 'a: 'static,
| ^^^^^^^^^^^^
|
= help: `#[macro_use]` can be applied to modules, extern crates, and crates
error: `#[deprecated]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:24:5
|
LL | #[deprecated] T: Trait,
| ^^^^^^^^^^^^^
|
= help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, foreign statics, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, and crates
error: `#[deprecated]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:25:5
|
LL | #[deprecated] 'a: 'static,
| ^^^^^^^^^^^^^
|
= help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, foreign statics, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, and crates
error: `#[automatically_derived]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:26:5
|
LL | #[automatically_derived] T: Trait,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `#[automatically_derived]` can only be applied to trait impl blocks
error: `#[automatically_derived]` attribute cannot be used on where predicates
--> $DIR/unsupported_attribute.rs:27:5
|
LL | #[automatically_derived] 'a: 'static,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `#[automatically_derived]` can only be applied to trait impl blocks
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:14:5
|
LL | #[doc = "doc"] T: Trait,
| ^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:15:5
|
LL | #[doc = "doc"] 'a: 'static,
| ^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:22:5
|
LL | #[allow(unused)] T: Trait,
| ^^^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:23:5
|
LL | #[allow(unused)] 'a: 'static,
| ^^^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:28:5
|
LL | #[derive(Clone)] T: Trait,
| ^^^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:31:5
|
LL | #[derive(Clone)] 'a: 'static,
| ^^^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:34:5
|
LL | #[rustfmt::skip] T: Trait,
| ^^^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: most attributes are not supported in `where` clauses
--> $DIR/unsupported_attribute.rs:35:5
|
LL | #[rustfmt::skip] 'a: 'static,
| ^^^^^^^^^^^^^^^^
|
= help: only `#[cfg]` and `#[cfg_attr]` are supported
error: aborting due to 20 previous errors
|