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