]>
Commit | Line | Data |
---|---|---|
3dfed10e | 1 | error: use of deprecated function `deprecation_lint::deprecated`: text |
cdc7bbd5 | 2 | --> $DIR/deprecation-lint.rs:16:9 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | deprecated(); |
b7449926 XL |
5 | | ^^^^^^^^^^ |
6 | | | |
74b04a01 | 7 | note: the lint level is defined here |
cdc7bbd5 | 8 | --> $DIR/deprecation-lint.rs:3:9 |
b7449926 XL |
9 | | |
10 | LL | #![deny(deprecated)] | |
11 | | ^^^^^^^^^^ | |
12 | ||
3dfed10e | 13 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
136023e0 | 14 | --> $DIR/deprecation-lint.rs:21:16 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | Trait::trait_deprecated(&foo); |
136023e0 | 17 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 18 | |
3dfed10e | 19 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
136023e0 | 20 | --> $DIR/deprecation-lint.rs:23:25 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | <Foo as Trait>::trait_deprecated(&foo); |
136023e0 | 23 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 24 | |
3dfed10e | 25 | error: use of deprecated function `deprecation_lint::deprecated_text`: text |
cdc7bbd5 | 26 | --> $DIR/deprecation-lint.rs:25:9 |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | deprecated_text(); |
b7449926 XL |
29 | | ^^^^^^^^^^^^^^^ |
30 | ||
3dfed10e | 31 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
136023e0 | 32 | --> $DIR/deprecation-lint.rs:30:16 |
b7449926 | 33 | | |
3dfed10e | 34 | LL | ... Trait::trait_deprecated_text(&foo); |
136023e0 | 35 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 36 | |
3dfed10e | 37 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
136023e0 | 38 | --> $DIR/deprecation-lint.rs:32:25 |
b7449926 | 39 | | |
3dfed10e | 40 | LL | ... <Foo as Trait>::trait_deprecated_text(&foo); |
136023e0 | 41 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 42 | |
3dfed10e | 43 | error: use of deprecated struct `deprecation_lint::DeprecatedStruct`: text |
cdc7bbd5 | 44 | --> $DIR/deprecation-lint.rs:34:17 |
b7449926 | 45 | | |
532ac7d7 | 46 | LL | let _ = DeprecatedStruct { |
b7449926 XL |
47 | | ^^^^^^^^^^^^^^^^ |
48 | ||
5e7ed085 | 49 | error: use of deprecated unit struct `deprecation_lint::DeprecatedUnitStruct`: text |
cdc7bbd5 | 50 | --> $DIR/deprecation-lint.rs:38:17 |
b7449926 | 51 | | |
532ac7d7 | 52 | LL | let _ = DeprecatedUnitStruct; |
b7449926 XL |
53 | | ^^^^^^^^^^^^^^^^^^^^ |
54 | ||
5e7ed085 | 55 | error: use of deprecated unit variant `deprecation_lint::Enum::DeprecatedVariant`: text |
136023e0 | 56 | --> $DIR/deprecation-lint.rs:40:23 |
b7449926 | 57 | | |
532ac7d7 | 58 | LL | let _ = Enum::DeprecatedVariant; |
136023e0 | 59 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 60 | |
5e7ed085 | 61 | error: use of deprecated tuple struct `deprecation_lint::DeprecatedTupleStruct`: text |
cdc7bbd5 | 62 | --> $DIR/deprecation-lint.rs:42:17 |
b7449926 | 63 | | |
532ac7d7 | 64 | LL | let _ = DeprecatedTupleStruct (1); |
b7449926 XL |
65 | | ^^^^^^^^^^^^^^^^^^^^^ |
66 | ||
3dfed10e | 67 | error: use of deprecated struct `deprecation_lint::nested::DeprecatedStruct`: text |
136023e0 | 68 | --> $DIR/deprecation-lint.rs:44:25 |
b7449926 | 69 | | |
532ac7d7 | 70 | LL | let _ = nested::DeprecatedStruct { |
136023e0 | 71 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 72 | |
5e7ed085 | 73 | error: use of deprecated unit struct `deprecation_lint::nested::DeprecatedUnitStruct`: text |
136023e0 | 74 | --> $DIR/deprecation-lint.rs:48:25 |
b7449926 | 75 | | |
532ac7d7 | 76 | LL | let _ = nested::DeprecatedUnitStruct; |
136023e0 | 77 | | ^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 78 | |
5e7ed085 | 79 | error: use of deprecated unit variant `deprecation_lint::nested::Enum::DeprecatedVariant`: text |
136023e0 | 80 | --> $DIR/deprecation-lint.rs:50:31 |
b7449926 | 81 | | |
3dfed10e | 82 | LL | ... let _ = nested::Enum::DeprecatedVariant; |
136023e0 | 83 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 84 | |
5e7ed085 | 85 | error: use of deprecated tuple struct `deprecation_lint::nested::DeprecatedTupleStruct`: text |
136023e0 | 86 | --> $DIR/deprecation-lint.rs:52:25 |
b7449926 | 87 | | |
3dfed10e | 88 | LL | ... let _ = nested::DeprecatedTupleStruct (1); |
136023e0 | 89 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 90 | |
3dfed10e | 91 | error: use of deprecated function `deprecation_lint::deprecated_text`: text |
cdc7bbd5 | 92 | --> $DIR/deprecation-lint.rs:59:25 |
b7449926 | 93 | | |
532ac7d7 | 94 | LL | macro_test_arg!(deprecated_text()); |
b7449926 XL |
95 | | ^^^^^^^^^^^^^^^ |
96 | ||
3dfed10e | 97 | error: use of deprecated function `deprecation_lint::deprecated_text`: text |
cdc7bbd5 | 98 | --> $DIR/deprecation-lint.rs:60:41 |
b7449926 | 99 | | |
532ac7d7 | 100 | LL | macro_test_arg!(macro_test_arg!(deprecated_text())); |
b7449926 XL |
101 | | ^^^^^^^^^^^^^^^ |
102 | ||
3dfed10e | 103 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
136023e0 | 104 | --> $DIR/deprecation-lint.rs:65:16 |
b7449926 | 105 | | |
532ac7d7 | 106 | LL | Trait::trait_deprecated(&foo); |
136023e0 | 107 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 108 | |
3dfed10e | 109 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
136023e0 | 110 | --> $DIR/deprecation-lint.rs:67:25 |
b7449926 | 111 | | |
532ac7d7 | 112 | LL | <Foo as Trait>::trait_deprecated(&foo); |
136023e0 | 113 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 114 | |
3dfed10e | 115 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
136023e0 | 116 | --> $DIR/deprecation-lint.rs:69:16 |
b7449926 | 117 | | |
3dfed10e | 118 | LL | ... Trait::trait_deprecated_text(&foo); |
136023e0 | 119 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 120 | |
3dfed10e | 121 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
136023e0 | 122 | --> $DIR/deprecation-lint.rs:71:25 |
b7449926 | 123 | | |
3dfed10e | 124 | LL | ... <Foo as Trait>::trait_deprecated_text(&foo); |
136023e0 | 125 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 126 | |
3dfed10e | 127 | error: use of deprecated trait `deprecation_lint::DeprecatedTrait`: text |
cdc7bbd5 | 128 | --> $DIR/deprecation-lint.rs:81:10 |
b7449926 | 129 | | |
532ac7d7 | 130 | LL | impl DeprecatedTrait for S {} |
b7449926 XL |
131 | | ^^^^^^^^^^^^^^^ |
132 | ||
3dfed10e | 133 | error: use of deprecated trait `deprecation_lint::DeprecatedTrait`: text |
cdc7bbd5 | 134 | --> $DIR/deprecation-lint.rs:82:24 |
b7449926 | 135 | | |
532ac7d7 | 136 | LL | trait LocalTrait : DeprecatedTrait { } |
b7449926 XL |
137 | | ^^^^^^^^^^^^^^^ |
138 | ||
3dfed10e | 139 | error: use of deprecated struct `deprecation_lint::Deprecated`: text |
cdc7bbd5 | 140 | --> $DIR/deprecation-lint.rs:113:17 |
b7449926 XL |
141 | | |
142 | LL | let x = Deprecated { | |
143 | | ^^^^^^^^^^ | |
144 | ||
3dfed10e | 145 | error: use of deprecated struct `deprecation_lint::Deprecated`: text |
cdc7bbd5 | 146 | --> $DIR/deprecation-lint.rs:122:13 |
b7449926 XL |
147 | | |
148 | LL | let Deprecated { | |
149 | | ^^^^^^^^^^ | |
150 | ||
3dfed10e | 151 | error: use of deprecated struct `deprecation_lint::Deprecated`: text |
cdc7bbd5 | 152 | --> $DIR/deprecation-lint.rs:128:13 |
b7449926 XL |
153 | | |
154 | LL | let Deprecated | |
155 | | ^^^^^^^^^^ | |
156 | ||
5e7ed085 | 157 | error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text |
cdc7bbd5 | 158 | --> $DIR/deprecation-lint.rs:132:17 |
b7449926 XL |
159 | | |
160 | LL | let x = Deprecated2(1, 2, 3); | |
161 | | ^^^^^^^^^^^ | |
162 | ||
5e7ed085 | 163 | error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text |
cdc7bbd5 | 164 | --> $DIR/deprecation-lint.rs:142:13 |
b7449926 XL |
165 | | |
166 | LL | let Deprecated2 | |
167 | | ^^^^^^^^^^^ | |
168 | ||
5e7ed085 | 169 | error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text |
cdc7bbd5 | 170 | --> $DIR/deprecation-lint.rs:151:13 |
b7449926 XL |
171 | | |
172 | LL | let Deprecated2 | |
173 | | ^^^^^^^^^^^ | |
174 | ||
3dfed10e | 175 | error: use of deprecated function `deprecation_lint::deprecated_mod::deprecated`: text |
136023e0 | 176 | --> $DIR/deprecation-lint.rs:162:25 |
b7449926 | 177 | | |
532ac7d7 | 178 | LL | deprecated_mod::deprecated(); |
136023e0 | 179 | | ^^^^^^^^^^ |
b7449926 | 180 | |
3dfed10e | 181 | error: use of deprecated function `this_crate::deprecated`: text |
cdc7bbd5 | 182 | --> $DIR/deprecation-lint.rs:245:9 |
b7449926 | 183 | | |
532ac7d7 | 184 | LL | deprecated(); |
b7449926 XL |
185 | | ^^^^^^^^^^ |
186 | ||
3dfed10e | 187 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
136023e0 | 188 | --> $DIR/deprecation-lint.rs:250:16 |
b7449926 | 189 | | |
532ac7d7 | 190 | LL | Trait::trait_deprecated(&foo); |
136023e0 | 191 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 192 | |
3dfed10e | 193 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
136023e0 | 194 | --> $DIR/deprecation-lint.rs:252:25 |
b7449926 | 195 | | |
532ac7d7 | 196 | LL | <Foo as Trait>::trait_deprecated(&foo); |
136023e0 | 197 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 198 | |
3dfed10e | 199 | error: use of deprecated function `this_crate::deprecated_text`: text |
cdc7bbd5 | 200 | --> $DIR/deprecation-lint.rs:254:9 |
b7449926 | 201 | | |
532ac7d7 | 202 | LL | deprecated_text(); |
b7449926 XL |
203 | | ^^^^^^^^^^^^^^^ |
204 | ||
3dfed10e | 205 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
136023e0 | 206 | --> $DIR/deprecation-lint.rs:259:16 |
b7449926 | 207 | | |
532ac7d7 | 208 | LL | Trait::trait_deprecated_text(&foo); |
136023e0 | 209 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 210 | |
3dfed10e | 211 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
136023e0 | 212 | --> $DIR/deprecation-lint.rs:261:25 |
b7449926 | 213 | | |
3dfed10e | 214 | LL | ... <Foo as Trait>::trait_deprecated_text(&foo); |
136023e0 | 215 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 216 | |
3dfed10e | 217 | error: use of deprecated function `this_crate::deprecated_future`: text |
cdc7bbd5 | 218 | --> $DIR/deprecation-lint.rs:264:9 |
9fa01778 | 219 | | |
532ac7d7 | 220 | LL | deprecated_future(); |
9fa01778 XL |
221 | | ^^^^^^^^^^^^^^^^^ |
222 | ||
3dfed10e | 223 | error: use of deprecated function `this_crate::deprecated_future_text`: text |
cdc7bbd5 | 224 | --> $DIR/deprecation-lint.rs:265:9 |
9fa01778 | 225 | | |
532ac7d7 | 226 | LL | deprecated_future_text(); |
9fa01778 XL |
227 | | ^^^^^^^^^^^^^^^^^^^^^^ |
228 | ||
3dfed10e | 229 | error: use of deprecated struct `this_crate::DeprecatedStruct`: text |
cdc7bbd5 | 230 | --> $DIR/deprecation-lint.rs:267:17 |
b7449926 XL |
231 | | |
232 | LL | let _ = DeprecatedStruct { | |
233 | | ^^^^^^^^^^^^^^^^ | |
234 | ||
3dfed10e | 235 | error: use of deprecated unit struct `this_crate::DeprecatedUnitStruct`: text |
cdc7bbd5 | 236 | --> $DIR/deprecation-lint.rs:272:17 |
b7449926 | 237 | | |
532ac7d7 | 238 | LL | let _ = DeprecatedUnitStruct; |
b7449926 XL |
239 | | ^^^^^^^^^^^^^^^^^^^^ |
240 | ||
3dfed10e | 241 | error: use of deprecated unit variant `this_crate::Enum::DeprecatedVariant`: text |
136023e0 | 242 | --> $DIR/deprecation-lint.rs:274:23 |
b7449926 | 243 | | |
532ac7d7 | 244 | LL | let _ = Enum::DeprecatedVariant; |
136023e0 | 245 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 246 | |
3dfed10e | 247 | error: use of deprecated tuple struct `this_crate::DeprecatedTupleStruct`: text |
cdc7bbd5 | 248 | --> $DIR/deprecation-lint.rs:276:17 |
b7449926 | 249 | | |
532ac7d7 | 250 | LL | let _ = DeprecatedTupleStruct (1); |
b7449926 XL |
251 | | ^^^^^^^^^^^^^^^^^^^^^ |
252 | ||
3dfed10e | 253 | error: use of deprecated struct `this_crate::nested::DeprecatedStruct`: text |
136023e0 | 254 | --> $DIR/deprecation-lint.rs:278:25 |
b7449926 XL |
255 | | |
256 | LL | let _ = nested::DeprecatedStruct { | |
136023e0 | 257 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 258 | |
3dfed10e | 259 | error: use of deprecated unit struct `this_crate::nested::DeprecatedUnitStruct`: text |
3c0e092e | 260 | --> $DIR/deprecation-lint.rs:284:25 |
b7449926 | 261 | | |
532ac7d7 | 262 | LL | let _ = nested::DeprecatedUnitStruct; |
136023e0 | 263 | | ^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 264 | |
3dfed10e | 265 | error: use of deprecated unit variant `this_crate::nested::Enum::DeprecatedVariant`: text |
3c0e092e | 266 | --> $DIR/deprecation-lint.rs:286:31 |
b7449926 | 267 | | |
3dfed10e | 268 | LL | ... let _ = nested::Enum::DeprecatedVariant; |
136023e0 | 269 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 270 | |
3dfed10e | 271 | error: use of deprecated tuple struct `this_crate::nested::DeprecatedTupleStruct`: text |
3c0e092e | 272 | --> $DIR/deprecation-lint.rs:288:25 |
b7449926 | 273 | | |
3dfed10e | 274 | LL | ... let _ = nested::DeprecatedTupleStruct (1); |
136023e0 | 275 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 276 | |
3dfed10e | 277 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
3c0e092e | 278 | --> $DIR/deprecation-lint.rs:293:16 |
b7449926 | 279 | | |
532ac7d7 | 280 | LL | Trait::trait_deprecated(&foo); |
136023e0 | 281 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 282 | |
3dfed10e | 283 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
3c0e092e | 284 | --> $DIR/deprecation-lint.rs:295:25 |
b7449926 | 285 | | |
532ac7d7 | 286 | LL | <Foo as Trait>::trait_deprecated(&foo); |
136023e0 | 287 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 288 | |
3dfed10e | 289 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
3c0e092e | 290 | --> $DIR/deprecation-lint.rs:297:16 |
b7449926 | 291 | | |
532ac7d7 | 292 | LL | Trait::trait_deprecated_text(&foo); |
136023e0 | 293 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 294 | |
3dfed10e | 295 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
3c0e092e | 296 | --> $DIR/deprecation-lint.rs:299:25 |
b7449926 | 297 | | |
3dfed10e | 298 | LL | ... <Foo as Trait>::trait_deprecated_text(&foo); |
136023e0 | 299 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 300 | |
1b1a35ee | 301 | error: use of deprecated function `this_crate::test_fn_closure_body::{closure#0}::bar` |
3c0e092e | 302 | --> $DIR/deprecation-lint.rs:317:13 |
b7449926 | 303 | | |
532ac7d7 | 304 | LL | bar(); |
b7449926 XL |
305 | | ^^^ |
306 | ||
3dfed10e | 307 | error: use of deprecated trait `this_crate::DeprecatedTrait`: text |
3c0e092e | 308 | --> $DIR/deprecation-lint.rs:336:10 |
b7449926 | 309 | | |
532ac7d7 | 310 | LL | impl DeprecatedTrait for S { } |
b7449926 XL |
311 | | ^^^^^^^^^^^^^^^ |
312 | ||
3dfed10e | 313 | error: use of deprecated trait `this_crate::DeprecatedTrait`: text |
3c0e092e | 314 | --> $DIR/deprecation-lint.rs:338:24 |
b7449926 | 315 | | |
532ac7d7 | 316 | LL | trait LocalTrait : DeprecatedTrait { } |
b7449926 XL |
317 | | ^^^^^^^^^^^^^^^ |
318 | ||
3dfed10e | 319 | error: use of deprecated struct `this_crate2::Deprecated`: text |
3c0e092e | 320 | --> $DIR/deprecation-lint.rs:390:17 |
b7449926 XL |
321 | | |
322 | LL | let x = Deprecated { | |
323 | | ^^^^^^^^^^ | |
324 | ||
3dfed10e | 325 | error: use of deprecated struct `this_crate2::Deprecated`: text |
3c0e092e | 326 | --> $DIR/deprecation-lint.rs:399:13 |
b7449926 XL |
327 | | |
328 | LL | let Deprecated { | |
329 | | ^^^^^^^^^^ | |
330 | ||
3dfed10e | 331 | error: use of deprecated struct `this_crate2::Deprecated`: text |
3c0e092e | 332 | --> $DIR/deprecation-lint.rs:405:13 |
b7449926 XL |
333 | | |
334 | LL | let Deprecated | |
335 | | ^^^^^^^^^^ | |
336 | ||
3dfed10e | 337 | error: use of deprecated tuple struct `this_crate2::Deprecated2`: text |
3c0e092e | 338 | --> $DIR/deprecation-lint.rs:410:17 |
b7449926 XL |
339 | | |
340 | LL | let x = Deprecated2(1, 2, 3); | |
341 | | ^^^^^^^^^^^ | |
342 | ||
3dfed10e | 343 | error: use of deprecated tuple struct `this_crate2::Deprecated2`: text |
3c0e092e | 344 | --> $DIR/deprecation-lint.rs:420:13 |
b7449926 XL |
345 | | |
346 | LL | let Deprecated2 | |
347 | | ^^^^^^^^^^^ | |
348 | ||
3dfed10e | 349 | error: use of deprecated tuple struct `this_crate2::Deprecated2`: text |
3c0e092e | 350 | --> $DIR/deprecation-lint.rs:429:13 |
b7449926 XL |
351 | | |
352 | LL | let Deprecated2 | |
353 | | ^^^^^^^^^^^ | |
354 | ||
3dfed10e | 355 | error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated`: text |
cdc7bbd5 | 356 | --> $DIR/deprecation-lint.rs:17:13 |
b7449926 | 357 | | |
532ac7d7 | 358 | LL | foo.method_deprecated(); |
b7449926 XL |
359 | | ^^^^^^^^^^^^^^^^^ |
360 | ||
3dfed10e | 361 | error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated`: text |
17df50a5 | 362 | --> $DIR/deprecation-lint.rs:18:14 |
b7449926 | 363 | | |
532ac7d7 | 364 | LL | Foo::method_deprecated(&foo); |
17df50a5 | 365 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 366 | |
3dfed10e | 367 | error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated`: text |
17df50a5 | 368 | --> $DIR/deprecation-lint.rs:19:16 |
b7449926 | 369 | | |
532ac7d7 | 370 | LL | <Foo>::method_deprecated(&foo); |
17df50a5 | 371 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 372 | |
3dfed10e | 373 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
cdc7bbd5 | 374 | --> $DIR/deprecation-lint.rs:20:13 |
b7449926 | 375 | | |
532ac7d7 | 376 | LL | foo.trait_deprecated(); |
b7449926 XL |
377 | | ^^^^^^^^^^^^^^^^ |
378 | ||
3dfed10e | 379 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
17df50a5 | 380 | --> $DIR/deprecation-lint.rs:22:16 |
b7449926 | 381 | | |
532ac7d7 | 382 | LL | <Foo>::trait_deprecated(&foo); |
17df50a5 | 383 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 384 | |
3dfed10e | 385 | error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated_text`: text |
cdc7bbd5 | 386 | --> $DIR/deprecation-lint.rs:26:13 |
b7449926 | 387 | | |
3dfed10e XL |
388 | LL | ... foo.method_deprecated_text(); |
389 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
b7449926 | 390 | |
3dfed10e | 391 | error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated_text`: text |
17df50a5 | 392 | --> $DIR/deprecation-lint.rs:27:14 |
b7449926 | 393 | | |
3dfed10e | 394 | LL | ... Foo::method_deprecated_text(&foo); |
17df50a5 | 395 | | ^^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 396 | |
3dfed10e | 397 | error: use of deprecated associated function `deprecation_lint::MethodTester::method_deprecated_text`: text |
17df50a5 | 398 | --> $DIR/deprecation-lint.rs:28:16 |
b7449926 | 399 | | |
3dfed10e | 400 | LL | ... <Foo>::method_deprecated_text(&foo); |
17df50a5 | 401 | | ^^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 402 | |
3dfed10e | 403 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
cdc7bbd5 | 404 | --> $DIR/deprecation-lint.rs:29:13 |
b7449926 | 405 | | |
532ac7d7 | 406 | LL | foo.trait_deprecated_text(); |
b7449926 XL |
407 | | ^^^^^^^^^^^^^^^^^^^^^ |
408 | ||
3dfed10e | 409 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
17df50a5 | 410 | --> $DIR/deprecation-lint.rs:31:16 |
b7449926 | 411 | | |
3dfed10e | 412 | LL | ... <Foo>::trait_deprecated_text(&foo); |
17df50a5 | 413 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 414 | |
3dfed10e | 415 | error: use of deprecated field `deprecation_lint::DeprecatedStruct::i`: text |
cdc7bbd5 | 416 | --> $DIR/deprecation-lint.rs:35:13 |
b7449926 | 417 | | |
532ac7d7 | 418 | LL | i: 0 |
b7449926 XL |
419 | | ^^^^ |
420 | ||
3dfed10e | 421 | error: use of deprecated field `deprecation_lint::nested::DeprecatedStruct::i`: text |
cdc7bbd5 | 422 | --> $DIR/deprecation-lint.rs:45:13 |
b7449926 | 423 | | |
532ac7d7 | 424 | LL | i: 0 |
b7449926 XL |
425 | | ^^^^ |
426 | ||
3dfed10e | 427 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
cdc7bbd5 | 428 | --> $DIR/deprecation-lint.rs:64:13 |
b7449926 | 429 | | |
532ac7d7 | 430 | LL | foo.trait_deprecated(); |
b7449926 XL |
431 | | ^^^^^^^^^^^^^^^^ |
432 | ||
3dfed10e | 433 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
17df50a5 | 434 | --> $DIR/deprecation-lint.rs:66:16 |
b7449926 | 435 | | |
532ac7d7 | 436 | LL | <Foo>::trait_deprecated(&foo); |
17df50a5 | 437 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 438 | |
3dfed10e | 439 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
cdc7bbd5 | 440 | --> $DIR/deprecation-lint.rs:68:13 |
b7449926 | 441 | | |
532ac7d7 | 442 | LL | foo.trait_deprecated_text(); |
b7449926 XL |
443 | | ^^^^^^^^^^^^^^^^^^^^^ |
444 | ||
3dfed10e | 445 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
17df50a5 | 446 | --> $DIR/deprecation-lint.rs:70:16 |
b7449926 | 447 | | |
3dfed10e | 448 | LL | ... <Foo>::trait_deprecated_text(&foo); |
17df50a5 | 449 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 450 | |
3dfed10e | 451 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text |
cdc7bbd5 | 452 | --> $DIR/deprecation-lint.rs:75:13 |
b7449926 | 453 | | |
532ac7d7 | 454 | LL | foo.trait_deprecated(); |
b7449926 XL |
455 | | ^^^^^^^^^^^^^^^^ |
456 | ||
3dfed10e | 457 | error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text |
cdc7bbd5 | 458 | --> $DIR/deprecation-lint.rs:76:13 |
b7449926 | 459 | | |
532ac7d7 | 460 | LL | foo.trait_deprecated_text(); |
b7449926 XL |
461 | | ^^^^^^^^^^^^^^^^^^^^^ |
462 | ||
3dfed10e | 463 | error: use of deprecated field `deprecation_lint::Stable::override2`: text |
cdc7bbd5 | 464 | --> $DIR/deprecation-lint.rs:86:13 |
b7449926 XL |
465 | | |
466 | LL | override2: 3, | |
467 | | ^^^^^^^^^^^^ | |
468 | ||
3dfed10e | 469 | error: use of deprecated field `deprecation_lint::Stable::override2`: text |
cdc7bbd5 | 470 | --> $DIR/deprecation-lint.rs:90:17 |
b7449926 XL |
471 | | |
472 | LL | let _ = x.override2; | |
473 | | ^^^^^^^^^^^ | |
474 | ||
3dfed10e | 475 | error: use of deprecated field `deprecation_lint::Stable::override2`: text |
cdc7bbd5 | 476 | --> $DIR/deprecation-lint.rs:94:13 |
b7449926 XL |
477 | | |
478 | LL | override2: _ | |
479 | | ^^^^^^^^^^^^ | |
480 | ||
3dfed10e | 481 | error: use of deprecated field `deprecation_lint::Stable2::2`: text |
cdc7bbd5 | 482 | --> $DIR/deprecation-lint.rs:102:17 |
b7449926 XL |
483 | | |
484 | LL | let _ = x.2; | |
485 | | ^^^ | |
486 | ||
3dfed10e | 487 | error: use of deprecated field `deprecation_lint::Stable2::2`: text |
cdc7bbd5 | 488 | --> $DIR/deprecation-lint.rs:107:20 |
b7449926 XL |
489 | | |
490 | LL | _) | |
491 | | ^ | |
492 | ||
3dfed10e | 493 | error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text |
cdc7bbd5 | 494 | --> $DIR/deprecation-lint.rs:115:13 |
b7449926 XL |
495 | | |
496 | LL | inherit: 1, | |
497 | | ^^^^^^^^^^ | |
498 | ||
3dfed10e | 499 | error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text |
cdc7bbd5 | 500 | --> $DIR/deprecation-lint.rs:119:17 |
b7449926 XL |
501 | | |
502 | LL | let _ = x.inherit; | |
503 | | ^^^^^^^^^ | |
504 | ||
3dfed10e | 505 | error: use of deprecated field `deprecation_lint::Deprecated::inherit`: text |
cdc7bbd5 | 506 | --> $DIR/deprecation-lint.rs:124:13 |
b7449926 XL |
507 | | |
508 | LL | inherit: _, | |
509 | | ^^^^^^^^^^ | |
510 | ||
3dfed10e | 511 | error: use of deprecated field `deprecation_lint::Deprecated2::0`: text |
cdc7bbd5 | 512 | --> $DIR/deprecation-lint.rs:135:17 |
b7449926 XL |
513 | | |
514 | LL | let _ = x.0; | |
515 | | ^^^ | |
516 | ||
3dfed10e | 517 | error: use of deprecated field `deprecation_lint::Deprecated2::1`: text |
cdc7bbd5 | 518 | --> $DIR/deprecation-lint.rs:137:17 |
b7449926 XL |
519 | | |
520 | LL | let _ = x.1; | |
521 | | ^^^ | |
522 | ||
3dfed10e | 523 | error: use of deprecated field `deprecation_lint::Deprecated2::2`: text |
cdc7bbd5 | 524 | --> $DIR/deprecation-lint.rs:139:17 |
b7449926 XL |
525 | | |
526 | LL | let _ = x.2; | |
527 | | ^^^ | |
528 | ||
3dfed10e | 529 | error: use of deprecated field `deprecation_lint::Deprecated2::0`: text |
cdc7bbd5 | 530 | --> $DIR/deprecation-lint.rs:144:14 |
b7449926 XL |
531 | | |
532 | LL | (_, | |
533 | | ^ | |
534 | ||
3dfed10e | 535 | error: use of deprecated field `deprecation_lint::Deprecated2::1`: text |
cdc7bbd5 | 536 | --> $DIR/deprecation-lint.rs:146:14 |
b7449926 XL |
537 | | |
538 | LL | _, | |
539 | | ^ | |
540 | ||
3dfed10e | 541 | error: use of deprecated field `deprecation_lint::Deprecated2::2`: text |
cdc7bbd5 | 542 | --> $DIR/deprecation-lint.rs:148:14 |
b7449926 XL |
543 | | |
544 | LL | _) | |
545 | | ^ | |
546 | ||
3dfed10e | 547 | error: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text |
cdc7bbd5 | 548 | --> $DIR/deprecation-lint.rs:246:13 |
b7449926 | 549 | | |
532ac7d7 | 550 | LL | foo.method_deprecated(); |
b7449926 XL |
551 | | ^^^^^^^^^^^^^^^^^ |
552 | ||
3dfed10e | 553 | error: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text |
17df50a5 | 554 | --> $DIR/deprecation-lint.rs:247:14 |
b7449926 | 555 | | |
532ac7d7 | 556 | LL | Foo::method_deprecated(&foo); |
17df50a5 | 557 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 558 | |
3dfed10e | 559 | error: use of deprecated associated function `this_crate::MethodTester::method_deprecated`: text |
17df50a5 | 560 | --> $DIR/deprecation-lint.rs:248:16 |
b7449926 | 561 | | |
532ac7d7 | 562 | LL | <Foo>::method_deprecated(&foo); |
17df50a5 | 563 | | ^^^^^^^^^^^^^^^^^ |
b7449926 | 564 | |
3dfed10e | 565 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
cdc7bbd5 | 566 | --> $DIR/deprecation-lint.rs:249:13 |
b7449926 | 567 | | |
532ac7d7 | 568 | LL | foo.trait_deprecated(); |
b7449926 XL |
569 | | ^^^^^^^^^^^^^^^^ |
570 | ||
3dfed10e | 571 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
17df50a5 | 572 | --> $DIR/deprecation-lint.rs:251:16 |
b7449926 | 573 | | |
532ac7d7 | 574 | LL | <Foo>::trait_deprecated(&foo); |
17df50a5 | 575 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 576 | |
3dfed10e | 577 | error: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text |
cdc7bbd5 | 578 | --> $DIR/deprecation-lint.rs:255:13 |
b7449926 | 579 | | |
3dfed10e XL |
580 | LL | ... foo.method_deprecated_text(); |
581 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
b7449926 | 582 | |
3dfed10e | 583 | error: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text |
17df50a5 | 584 | --> $DIR/deprecation-lint.rs:256:14 |
b7449926 | 585 | | |
3dfed10e | 586 | LL | ... Foo::method_deprecated_text(&foo); |
17df50a5 | 587 | | ^^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 588 | |
3dfed10e | 589 | error: use of deprecated associated function `this_crate::MethodTester::method_deprecated_text`: text |
17df50a5 | 590 | --> $DIR/deprecation-lint.rs:257:16 |
b7449926 | 591 | | |
3dfed10e | 592 | LL | ... <Foo>::method_deprecated_text(&foo); |
17df50a5 | 593 | | ^^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 594 | |
3dfed10e | 595 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
cdc7bbd5 | 596 | --> $DIR/deprecation-lint.rs:258:13 |
b7449926 | 597 | | |
532ac7d7 | 598 | LL | foo.trait_deprecated_text(); |
b7449926 XL |
599 | | ^^^^^^^^^^^^^^^^^^^^^ |
600 | ||
3dfed10e | 601 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
17df50a5 | 602 | --> $DIR/deprecation-lint.rs:260:16 |
b7449926 | 603 | | |
532ac7d7 | 604 | LL | <Foo>::trait_deprecated_text(&foo); |
17df50a5 | 605 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 606 | |
3dfed10e | 607 | error: use of deprecated field `this_crate::DeprecatedStruct::i`: text |
cdc7bbd5 | 608 | --> $DIR/deprecation-lint.rs:269:13 |
b7449926 | 609 | | |
532ac7d7 | 610 | LL | i: 0 |
b7449926 XL |
611 | | ^^^^ |
612 | ||
3dfed10e | 613 | error: use of deprecated field `this_crate::nested::DeprecatedStruct::i`: text |
cdc7bbd5 | 614 | --> $DIR/deprecation-lint.rs:280:13 |
b7449926 | 615 | | |
532ac7d7 | 616 | LL | i: 0 |
b7449926 XL |
617 | | ^^^^ |
618 | ||
3dfed10e | 619 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
3c0e092e | 620 | --> $DIR/deprecation-lint.rs:292:13 |
b7449926 | 621 | | |
532ac7d7 | 622 | LL | foo.trait_deprecated(); |
b7449926 XL |
623 | | ^^^^^^^^^^^^^^^^ |
624 | ||
3dfed10e | 625 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
3c0e092e | 626 | --> $DIR/deprecation-lint.rs:294:16 |
b7449926 | 627 | | |
532ac7d7 | 628 | LL | <Foo>::trait_deprecated(&foo); |
17df50a5 | 629 | | ^^^^^^^^^^^^^^^^ |
b7449926 | 630 | |
3dfed10e | 631 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
3c0e092e | 632 | --> $DIR/deprecation-lint.rs:296:13 |
b7449926 | 633 | | |
532ac7d7 | 634 | LL | foo.trait_deprecated_text(); |
b7449926 XL |
635 | | ^^^^^^^^^^^^^^^^^^^^^ |
636 | ||
3dfed10e | 637 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
3c0e092e | 638 | --> $DIR/deprecation-lint.rs:298:16 |
b7449926 | 639 | | |
532ac7d7 | 640 | LL | <Foo>::trait_deprecated_text(&foo); |
17df50a5 | 641 | | ^^^^^^^^^^^^^^^^^^^^^ |
b7449926 | 642 | |
3dfed10e | 643 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text |
3c0e092e | 644 | --> $DIR/deprecation-lint.rs:303:13 |
b7449926 | 645 | | |
532ac7d7 | 646 | LL | foo.trait_deprecated(); |
b7449926 XL |
647 | | ^^^^^^^^^^^^^^^^ |
648 | ||
3dfed10e | 649 | error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text |
3c0e092e | 650 | --> $DIR/deprecation-lint.rs:304:13 |
b7449926 | 651 | | |
532ac7d7 | 652 | LL | foo.trait_deprecated_text(); |
b7449926 XL |
653 | | ^^^^^^^^^^^^^^^^^^^^^ |
654 | ||
3dfed10e | 655 | error: use of deprecated field `this_crate2::Stable::override2`: text |
3c0e092e | 656 | --> $DIR/deprecation-lint.rs:363:13 |
b7449926 XL |
657 | | |
658 | LL | override2: 3, | |
659 | | ^^^^^^^^^^^^ | |
660 | ||
3dfed10e | 661 | error: use of deprecated field `this_crate2::Stable::override2`: text |
3c0e092e | 662 | --> $DIR/deprecation-lint.rs:367:17 |
b7449926 XL |
663 | | |
664 | LL | let _ = x.override2; | |
665 | | ^^^^^^^^^^^ | |
666 | ||
3dfed10e | 667 | error: use of deprecated field `this_crate2::Stable::override2`: text |
3c0e092e | 668 | --> $DIR/deprecation-lint.rs:371:13 |
b7449926 XL |
669 | | |
670 | LL | override2: _ | |
671 | | ^^^^^^^^^^^^ | |
672 | ||
3dfed10e | 673 | error: use of deprecated field `this_crate2::Stable2::2`: text |
3c0e092e | 674 | --> $DIR/deprecation-lint.rs:379:17 |
b7449926 XL |
675 | | |
676 | LL | let _ = x.2; | |
677 | | ^^^ | |
678 | ||
3dfed10e | 679 | error: use of deprecated field `this_crate2::Stable2::2`: text |
3c0e092e | 680 | --> $DIR/deprecation-lint.rs:384:20 |
b7449926 XL |
681 | | |
682 | LL | _) | |
683 | | ^ | |
684 | ||
3dfed10e | 685 | error: use of deprecated field `this_crate2::Deprecated::inherit`: text |
3c0e092e | 686 | --> $DIR/deprecation-lint.rs:392:13 |
b7449926 XL |
687 | | |
688 | LL | inherit: 1, | |
689 | | ^^^^^^^^^^ | |
690 | ||
3dfed10e | 691 | error: use of deprecated field `this_crate2::Deprecated::inherit`: text |
3c0e092e | 692 | --> $DIR/deprecation-lint.rs:396:17 |
b7449926 XL |
693 | | |
694 | LL | let _ = x.inherit; | |
695 | | ^^^^^^^^^ | |
696 | ||
3dfed10e | 697 | error: use of deprecated field `this_crate2::Deprecated::inherit`: text |
3c0e092e | 698 | --> $DIR/deprecation-lint.rs:401:13 |
b7449926 XL |
699 | | |
700 | LL | inherit: _, | |
701 | | ^^^^^^^^^^ | |
702 | ||
3dfed10e | 703 | error: use of deprecated field `this_crate2::Deprecated2::0`: text |
3c0e092e | 704 | --> $DIR/deprecation-lint.rs:413:17 |
b7449926 XL |
705 | | |
706 | LL | let _ = x.0; | |
707 | | ^^^ | |
708 | ||
3dfed10e | 709 | error: use of deprecated field `this_crate2::Deprecated2::1`: text |
3c0e092e | 710 | --> $DIR/deprecation-lint.rs:415:17 |
b7449926 XL |
711 | | |
712 | LL | let _ = x.1; | |
713 | | ^^^ | |
714 | ||
3dfed10e | 715 | error: use of deprecated field `this_crate2::Deprecated2::2`: text |
3c0e092e | 716 | --> $DIR/deprecation-lint.rs:417:17 |
b7449926 XL |
717 | | |
718 | LL | let _ = x.2; | |
719 | | ^^^ | |
720 | ||
3dfed10e | 721 | error: use of deprecated field `this_crate2::Deprecated2::0`: text |
3c0e092e | 722 | --> $DIR/deprecation-lint.rs:422:14 |
b7449926 XL |
723 | | |
724 | LL | (_, | |
725 | | ^ | |
726 | ||
3dfed10e | 727 | error: use of deprecated field `this_crate2::Deprecated2::1`: text |
3c0e092e | 728 | --> $DIR/deprecation-lint.rs:424:14 |
b7449926 XL |
729 | | |
730 | LL | _, | |
731 | | ^ | |
732 | ||
3dfed10e | 733 | error: use of deprecated field `this_crate2::Deprecated2::2`: text |
3c0e092e | 734 | --> $DIR/deprecation-lint.rs:426:14 |
b7449926 XL |
735 | | |
736 | LL | _) | |
737 | | ^ | |
738 | ||
3c0e092e XL |
739 | error[E0451]: field `i` of struct `this_crate::nested::DeprecatedStruct` is private |
740 | --> $DIR/deprecation-lint.rs:280:13 | |
741 | | | |
742 | LL | i: 0 | |
743 | | ^^^^ private field | |
744 | ||
745 | error: aborting due to 123 previous errors | |
b7449926 | 746 | |
3c0e092e | 747 | For more information about this error, try `rustc --explain E0451`. |