fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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