]>
Commit | Line | Data |
---|---|---|
3c0e092e | 1 | error: unused attribute |
04454e1e | 2 | --> $DIR/unused-attr-duplicate.rs:33:1 |
3c0e092e XL |
3 | | |
4 | LL | #[no_link] | |
5 | | ^^^^^^^^^^ help: remove this attribute | |
6 | | | |
3c0e092e | 7 | note: attribute also specified here |
04454e1e | 8 | --> $DIR/unused-attr-duplicate.rs:32:1 |
3c0e092e XL |
9 | | |
10 | LL | #[no_link] | |
11 | | ^^^^^^^^^^ | |
2b03887a FG |
12 | note: the lint level is defined here |
13 | --> $DIR/unused-attr-duplicate.rs:12:9 | |
14 | | | |
15 | LL | #![deny(unused_attributes)] | |
16 | | ^^^^^^^^^^^^^^^^^ | |
3c0e092e XL |
17 | |
18 | error: unused attribute | |
04454e1e | 19 | --> $DIR/unused-attr-duplicate.rs:37:1 |
3c0e092e XL |
20 | | |
21 | LL | #[macro_use] | |
22 | | ^^^^^^^^^^^^ help: remove this attribute | |
23 | | | |
24 | note: attribute also specified here | |
04454e1e | 25 | --> $DIR/unused-attr-duplicate.rs:36:1 |
3c0e092e XL |
26 | | |
27 | LL | #[macro_use] | |
28 | | ^^^^^^^^^^^^ | |
29 | ||
30 | error: unused attribute | |
04454e1e | 31 | --> $DIR/unused-attr-duplicate.rs:47:1 |
3c0e092e XL |
32 | | |
33 | LL | #[path = "bar.rs"] | |
34 | | ^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
35 | | | |
36 | note: attribute also specified here | |
04454e1e | 37 | --> $DIR/unused-attr-duplicate.rs:46:1 |
3c0e092e XL |
38 | | |
39 | LL | #[path = "auxiliary/lint_unused_extern_crate.rs"] | |
40 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
41 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
42 | ||
43 | error: unused attribute | |
04454e1e | 44 | --> $DIR/unused-attr-duplicate.rs:53:1 |
3c0e092e XL |
45 | | |
46 | LL | #[ignore = "some text"] | |
47 | | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
48 | | | |
49 | note: attribute also specified here | |
04454e1e | 50 | --> $DIR/unused-attr-duplicate.rs:52:1 |
3c0e092e XL |
51 | | |
52 | LL | #[ignore] | |
53 | | ^^^^^^^^^ | |
54 | ||
55 | error: unused attribute | |
04454e1e | 56 | --> $DIR/unused-attr-duplicate.rs:55:1 |
3c0e092e XL |
57 | | |
58 | LL | #[should_panic(expected = "values don't match")] | |
59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
60 | | | |
61 | note: attribute also specified here | |
04454e1e | 62 | --> $DIR/unused-attr-duplicate.rs:54:1 |
3c0e092e XL |
63 | | |
64 | LL | #[should_panic] | |
65 | | ^^^^^^^^^^^^^^^ | |
66 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
67 | ||
68 | error: unused attribute | |
04454e1e | 69 | --> $DIR/unused-attr-duplicate.rs:60:1 |
3c0e092e XL |
70 | | |
71 | LL | #[must_use = "some message"] | |
72 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
73 | | | |
74 | note: attribute also specified here | |
04454e1e | 75 | --> $DIR/unused-attr-duplicate.rs:59:1 |
3c0e092e XL |
76 | | |
77 | LL | #[must_use] | |
78 | | ^^^^^^^^^^^ | |
79 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
80 | ||
81 | error: unused attribute | |
04454e1e | 82 | --> $DIR/unused-attr-duplicate.rs:66:1 |
3c0e092e XL |
83 | | |
84 | LL | #[non_exhaustive] | |
85 | | ^^^^^^^^^^^^^^^^^ help: remove this attribute | |
86 | | | |
87 | note: attribute also specified here | |
04454e1e | 88 | --> $DIR/unused-attr-duplicate.rs:65:1 |
3c0e092e XL |
89 | | |
90 | LL | #[non_exhaustive] | |
91 | | ^^^^^^^^^^^^^^^^^ | |
92 | ||
93 | error: unused attribute | |
04454e1e | 94 | --> $DIR/unused-attr-duplicate.rs:70:1 |
3c0e092e XL |
95 | | |
96 | LL | #[automatically_derived] | |
97 | | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
98 | | | |
99 | note: attribute also specified here | |
04454e1e | 100 | --> $DIR/unused-attr-duplicate.rs:69:1 |
3c0e092e XL |
101 | | |
102 | LL | #[automatically_derived] | |
103 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
104 | ||
105 | error: unused attribute | |
04454e1e | 106 | --> $DIR/unused-attr-duplicate.rs:74:1 |
3c0e092e XL |
107 | | |
108 | LL | #[inline(never)] | |
109 | | ^^^^^^^^^^^^^^^^ help: remove this attribute | |
110 | | | |
111 | note: attribute also specified here | |
04454e1e | 112 | --> $DIR/unused-attr-duplicate.rs:73:1 |
3c0e092e XL |
113 | | |
114 | LL | #[inline(always)] | |
115 | | ^^^^^^^^^^^^^^^^^ | |
116 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
117 | ||
118 | error: unused attribute | |
04454e1e | 119 | --> $DIR/unused-attr-duplicate.rs:77:1 |
3c0e092e XL |
120 | | |
121 | LL | #[cold] | |
122 | | ^^^^^^^ help: remove this attribute | |
123 | | | |
124 | note: attribute also specified here | |
04454e1e | 125 | --> $DIR/unused-attr-duplicate.rs:76:1 |
3c0e092e XL |
126 | | |
127 | LL | #[cold] | |
128 | | ^^^^^^^ | |
129 | ||
130 | error: unused attribute | |
04454e1e | 131 | --> $DIR/unused-attr-duplicate.rs:79:1 |
3c0e092e XL |
132 | | |
133 | LL | #[track_caller] | |
134 | | ^^^^^^^^^^^^^^^ help: remove this attribute | |
135 | | | |
136 | note: attribute also specified here | |
04454e1e | 137 | --> $DIR/unused-attr-duplicate.rs:78:1 |
3c0e092e XL |
138 | | |
139 | LL | #[track_caller] | |
140 | | ^^^^^^^^^^^^^^^ | |
141 | ||
142 | error: unused attribute | |
04454e1e | 143 | --> $DIR/unused-attr-duplicate.rs:92:1 |
3c0e092e XL |
144 | | |
145 | LL | #[export_name = "exported_symbol_name"] | |
146 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
147 | | | |
148 | note: attribute also specified here | |
04454e1e | 149 | --> $DIR/unused-attr-duplicate.rs:94:1 |
3c0e092e XL |
150 | | |
151 | LL | #[export_name = "exported_symbol_name2"] | |
152 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
153 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
154 | ||
155 | error: unused attribute | |
04454e1e | 156 | --> $DIR/unused-attr-duplicate.rs:98:1 |
3c0e092e XL |
157 | | |
158 | LL | #[no_mangle] | |
159 | | ^^^^^^^^^^^^ help: remove this attribute | |
160 | | | |
161 | note: attribute also specified here | |
04454e1e | 162 | --> $DIR/unused-attr-duplicate.rs:97:1 |
3c0e092e XL |
163 | | |
164 | LL | #[no_mangle] | |
165 | | ^^^^^^^^^^^^ | |
166 | ||
167 | error: unused attribute | |
04454e1e | 168 | --> $DIR/unused-attr-duplicate.rs:102:1 |
3c0e092e XL |
169 | | |
170 | LL | #[used] | |
171 | | ^^^^^^^ help: remove this attribute | |
172 | | | |
173 | note: attribute also specified here | |
04454e1e | 174 | --> $DIR/unused-attr-duplicate.rs:101:1 |
3c0e092e XL |
175 | | |
176 | LL | #[used] | |
177 | | ^^^^^^^ | |
178 | ||
179 | error: unused attribute | |
04454e1e | 180 | --> $DIR/unused-attr-duplicate.rs:86:5 |
3c0e092e XL |
181 | | |
182 | LL | #[link_name = "this_does_not_exist"] | |
183 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
184 | | | |
185 | note: attribute also specified here | |
04454e1e | 186 | --> $DIR/unused-attr-duplicate.rs:88:5 |
3c0e092e XL |
187 | | |
188 | LL | #[link_name = "rust_dbg_extern_identity_u32"] | |
189 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
190 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
191 | ||
192 | error: unused attribute | |
193 | --> $DIR/unused-attr-duplicate.rs:14:1 | |
194 | | | |
195 | LL | #![crate_name = "unused_attr_duplicate2"] | |
196 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
197 | | | |
198 | note: attribute also specified here | |
199 | --> $DIR/unused-attr-duplicate.rs:13:1 | |
200 | | | |
201 | LL | #![crate_name = "unused_attr_duplicate"] | |
202 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
203 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
204 | ||
205 | error: unused attribute | |
206 | --> $DIR/unused-attr-duplicate.rs:17:1 | |
207 | | | |
3c0e092e XL |
208 | LL | #![recursion_limit = "256"] |
209 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
210 | | | |
211 | note: attribute also specified here | |
04454e1e | 212 | --> $DIR/unused-attr-duplicate.rs:16:1 |
3c0e092e XL |
213 | | |
214 | LL | #![recursion_limit = "128"] | |
215 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
216 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
217 | ||
218 | error: unused attribute | |
04454e1e | 219 | --> $DIR/unused-attr-duplicate.rs:20:1 |
3c0e092e XL |
220 | | |
221 | LL | #![type_length_limit = "1"] | |
222 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
223 | | | |
224 | note: attribute also specified here | |
04454e1e | 225 | --> $DIR/unused-attr-duplicate.rs:19:1 |
3c0e092e XL |
226 | | |
227 | LL | #![type_length_limit = "1048576"] | |
228 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
229 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
230 | ||
231 | error: unused attribute | |
04454e1e | 232 | --> $DIR/unused-attr-duplicate.rs:23:1 |
3c0e092e XL |
233 | | |
234 | LL | #![no_std] | |
235 | | ^^^^^^^^^^ help: remove this attribute | |
236 | | | |
237 | note: attribute also specified here | |
04454e1e | 238 | --> $DIR/unused-attr-duplicate.rs:22:1 |
3c0e092e XL |
239 | | |
240 | LL | #![no_std] | |
241 | | ^^^^^^^^^^ | |
242 | ||
243 | error: unused attribute | |
04454e1e | 244 | --> $DIR/unused-attr-duplicate.rs:25:1 |
3c0e092e XL |
245 | | |
246 | LL | #![no_implicit_prelude] | |
247 | | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
248 | | | |
249 | note: attribute also specified here | |
04454e1e | 250 | --> $DIR/unused-attr-duplicate.rs:24:1 |
3c0e092e XL |
251 | | |
252 | LL | #![no_implicit_prelude] | |
253 | | ^^^^^^^^^^^^^^^^^^^^^^^ | |
254 | ||
255 | error: unused attribute | |
04454e1e | 256 | --> $DIR/unused-attr-duplicate.rs:27:1 |
3c0e092e XL |
257 | | |
258 | LL | #![windows_subsystem = "windows"] | |
259 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
260 | | | |
261 | note: attribute also specified here | |
04454e1e | 262 | --> $DIR/unused-attr-duplicate.rs:26:1 |
3c0e092e XL |
263 | | |
264 | LL | #![windows_subsystem = "console"] | |
265 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
266 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
267 | ||
268 | error: unused attribute | |
04454e1e | 269 | --> $DIR/unused-attr-duplicate.rs:30:1 |
3c0e092e XL |
270 | | |
271 | LL | #![no_builtins] | |
272 | | ^^^^^^^^^^^^^^^ help: remove this attribute | |
273 | | | |
274 | note: attribute also specified here | |
04454e1e | 275 | --> $DIR/unused-attr-duplicate.rs:29:1 |
3c0e092e XL |
276 | | |
277 | LL | #![no_builtins] | |
278 | | ^^^^^^^^^^^^^^^ | |
279 | ||
280 | error: unused attribute | |
04454e1e | 281 | --> $DIR/unused-attr-duplicate.rs:40:5 |
3c0e092e XL |
282 | | |
283 | LL | #[macro_export] | |
284 | | ^^^^^^^^^^^^^^^ help: remove this attribute | |
285 | | | |
286 | note: attribute also specified here | |
04454e1e | 287 | --> $DIR/unused-attr-duplicate.rs:39:5 |
3c0e092e XL |
288 | | |
289 | LL | #[macro_export] | |
290 | | ^^^^^^^^^^^^^^^ | |
291 | ||
04454e1e | 292 | error: aborting due to 23 previous errors |
3c0e092e | 293 |