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