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