@@ -11,16 +11,16 @@ LL | #![deny(deprecated)]
11
11
| ^^^^^^^^^^
12
12
13
13
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
14
- --> $DIR/deprecation-lint.rs:21:16
14
+ --> $DIR/deprecation-lint.rs:21:9
15
15
|
16
16
LL | Trait::trait_deprecated(&foo);
17
- | ^^^^^^^^^^^^^^^^
17
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^
18
18
19
19
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
20
- --> $DIR/deprecation-lint.rs:23:25
20
+ --> $DIR/deprecation-lint.rs:23:9
21
21
|
22
22
LL | <Foo as Trait>::trait_deprecated(&foo);
23
- | ^^^^^^^^^^^^^^^^
23
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
24
24
25
25
error: use of deprecated function `deprecation_lint::deprecated_text`: text
26
26
--> $DIR/deprecation-lint.rs:25:9
@@ -29,16 +29,16 @@ LL | deprecated_text();
29
29
| ^^^^^^^^^^^^^^^
30
30
31
31
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
32
- --> $DIR/deprecation-lint.rs:30:16
32
+ --> $DIR/deprecation-lint.rs:30:9
33
33
|
34
34
LL | ... Trait::trait_deprecated_text(&foo);
35
- | ^^^^^^^^^^^^^^^^^^^^^
35
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
36
36
37
37
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
38
- --> $DIR/deprecation-lint.rs:32:25
38
+ --> $DIR/deprecation-lint.rs:32:9
39
39
|
40
40
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
41
- | ^^^^^^^^^^^^^^^^^^^^^
41
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
42
42
43
43
error: use of deprecated struct `deprecation_lint::DeprecatedStruct`: text
44
44
--> $DIR/deprecation-lint.rs:34:17
@@ -53,10 +53,10 @@ LL | let _ = DeprecatedUnitStruct;
53
53
| ^^^^^^^^^^^^^^^^^^^^
54
54
55
55
error: use of deprecated variant `deprecation_lint::Enum::DeprecatedVariant`: text
56
- --> $DIR/deprecation-lint.rs:40:23
56
+ --> $DIR/deprecation-lint.rs:40:17
57
57
|
58
58
LL | let _ = Enum::DeprecatedVariant;
59
- | ^^^^^^^^^^^^^^^^^
59
+ | ^^^^^^ ^^^^^^^^^^^^^^^^^
60
60
61
61
error: use of deprecated struct `deprecation_lint::DeprecatedTupleStruct`: text
62
62
--> $DIR/deprecation-lint.rs:42:17
@@ -65,28 +65,28 @@ LL | let _ = DeprecatedTupleStruct (1);
65
65
| ^^^^^^^^^^^^^^^^^^^^^
66
66
67
67
error: use of deprecated struct `deprecation_lint::nested::DeprecatedStruct`: text
68
- --> $DIR/deprecation-lint.rs:44:25
68
+ --> $DIR/deprecation-lint.rs:44:17
69
69
|
70
70
LL | let _ = nested::DeprecatedStruct {
71
- | ^^^^^^^^^^^^^^^^
71
+ | ^^^^^^^^ ^^^^^^^^^^^^^^^^
72
72
73
73
error: use of deprecated struct `deprecation_lint::nested::DeprecatedUnitStruct`: text
74
- --> $DIR/deprecation-lint.rs:48:25
74
+ --> $DIR/deprecation-lint.rs:48:17
75
75
|
76
76
LL | let _ = nested::DeprecatedUnitStruct;
77
- | ^^^^^^^^^^^^^^^^^^^^
77
+ | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
78
78
79
79
error: use of deprecated variant `deprecation_lint::nested::Enum::DeprecatedVariant`: text
80
- --> $DIR/deprecation-lint.rs:50:31
80
+ --> $DIR/deprecation-lint.rs:50:17
81
81
|
82
82
LL | ... let _ = nested::Enum::DeprecatedVariant;
83
- | ^^^^^^^^^^^^^^^^^
83
+ | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
84
84
85
85
error: use of deprecated struct `deprecation_lint::nested::DeprecatedTupleStruct`: text
86
- --> $DIR/deprecation-lint.rs:52:25
86
+ --> $DIR/deprecation-lint.rs:52:17
87
87
|
88
88
LL | ... let _ = nested::DeprecatedTupleStruct (1);
89
- | ^^^^^^^^^^^^^^^^^^^^^
89
+ | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
90
90
91
91
error: use of deprecated function `deprecation_lint::deprecated_text`: text
92
92
--> $DIR/deprecation-lint.rs:59:25
@@ -101,28 +101,28 @@ LL | macro_test_arg!(macro_test_arg!(deprecated_text()));
101
101
| ^^^^^^^^^^^^^^^
102
102
103
103
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
104
- --> $DIR/deprecation-lint.rs:65:16
104
+ --> $DIR/deprecation-lint.rs:65:9
105
105
|
106
106
LL | Trait::trait_deprecated(&foo);
107
- | ^^^^^^^^^^^^^^^^
107
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^
108
108
109
109
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated`: text
110
- --> $DIR/deprecation-lint.rs:67:25
110
+ --> $DIR/deprecation-lint.rs:67:9
111
111
|
112
112
LL | <Foo as Trait>::trait_deprecated(&foo);
113
- | ^^^^^^^^^^^^^^^^
113
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
114
114
115
115
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
116
- --> $DIR/deprecation-lint.rs:69:16
116
+ --> $DIR/deprecation-lint.rs:69:9
117
117
|
118
118
LL | ... Trait::trait_deprecated_text(&foo);
119
- | ^^^^^^^^^^^^^^^^^^^^^
119
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
120
120
121
121
error: use of deprecated associated function `deprecation_lint::Trait::trait_deprecated_text`: text
122
- --> $DIR/deprecation-lint.rs:71:25
122
+ --> $DIR/deprecation-lint.rs:71:9
123
123
|
124
124
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
125
- | ^^^^^^^^^^^^^^^^^^^^^
125
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
126
126
127
127
error: use of deprecated trait `deprecation_lint::DeprecatedTrait`: text
128
128
--> $DIR/deprecation-lint.rs:81:10
@@ -173,10 +173,10 @@ LL | let Deprecated2
173
173
| ^^^^^^^^^^^
174
174
175
175
error: use of deprecated function `deprecation_lint::deprecated_mod::deprecated`: text
176
- --> $DIR/deprecation-lint.rs:162:25
176
+ --> $DIR/deprecation-lint.rs:162:9
177
177
|
178
178
LL | deprecated_mod::deprecated();
179
- | ^^^^^^^^^^
179
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^
180
180
181
181
error: use of deprecated function `this_crate::deprecated`: text
182
182
--> $DIR/deprecation-lint.rs:245:9
@@ -185,16 +185,16 @@ LL | deprecated();
185
185
| ^^^^^^^^^^
186
186
187
187
error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
188
- --> $DIR/deprecation-lint.rs:250:16
188
+ --> $DIR/deprecation-lint.rs:250:9
189
189
|
190
190
LL | Trait::trait_deprecated(&foo);
191
- | ^^^^^^^^^^^^^^^^
191
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^
192
192
193
193
error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
194
- --> $DIR/deprecation-lint.rs:252:25
194
+ --> $DIR/deprecation-lint.rs:252:9
195
195
|
196
196
LL | <Foo as Trait>::trait_deprecated(&foo);
197
- | ^^^^^^^^^^^^^^^^
197
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
198
198
199
199
error: use of deprecated function `this_crate::deprecated_text`: text
200
200
--> $DIR/deprecation-lint.rs:254:9
@@ -203,16 +203,16 @@ LL | deprecated_text();
203
203
| ^^^^^^^^^^^^^^^
204
204
205
205
error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
206
- --> $DIR/deprecation-lint.rs:259:16
206
+ --> $DIR/deprecation-lint.rs:259:9
207
207
|
208
208
LL | Trait::trait_deprecated_text(&foo);
209
- | ^^^^^^^^^^^^^^^^^^^^^
209
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
210
210
211
211
error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
212
- --> $DIR/deprecation-lint.rs:261:25
212
+ --> $DIR/deprecation-lint.rs:261:9
213
213
|
214
214
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
215
- | ^^^^^^^^^^^^^^^^^^^^^
215
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
216
216
217
217
error: use of deprecated function `this_crate::deprecated_future`: text
218
218
--> $DIR/deprecation-lint.rs:264:9
@@ -239,10 +239,10 @@ LL | let _ = DeprecatedUnitStruct;
239
239
| ^^^^^^^^^^^^^^^^^^^^
240
240
241
241
error: use of deprecated unit variant `this_crate::Enum::DeprecatedVariant`: text
242
- --> $DIR/deprecation-lint.rs:274:23
242
+ --> $DIR/deprecation-lint.rs:274:17
243
243
|
244
244
LL | let _ = Enum::DeprecatedVariant;
245
- | ^^^^^^^^^^^^^^^^^
245
+ | ^^^^^^ ^^^^^^^^^^^^^^^^^
246
246
247
247
error: use of deprecated tuple struct `this_crate::DeprecatedTupleStruct`: text
248
248
--> $DIR/deprecation-lint.rs:276:17
@@ -251,52 +251,52 @@ LL | let _ = DeprecatedTupleStruct (1);
251
251
| ^^^^^^^^^^^^^^^^^^^^^
252
252
253
253
error: use of deprecated struct `this_crate::nested::DeprecatedStruct`: text
254
- --> $DIR/deprecation-lint.rs:278:25
254
+ --> $DIR/deprecation-lint.rs:278:17
255
255
|
256
256
LL | let _ = nested::DeprecatedStruct {
257
- | ^^^^^^^^^^^^^^^^
257
+ | ^^^^^^^^ ^^^^^^^^^^^^^^^^
258
258
259
259
error: use of deprecated unit struct `this_crate::nested::DeprecatedUnitStruct`: text
260
- --> $DIR/deprecation-lint.rs:283:25
260
+ --> $DIR/deprecation-lint.rs:283:17
261
261
|
262
262
LL | let _ = nested::DeprecatedUnitStruct;
263
- | ^^^^^^^^^^^^^^^^^^^^
263
+ | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
264
264
265
265
error: use of deprecated unit variant `this_crate::nested::Enum::DeprecatedVariant`: text
266
- --> $DIR/deprecation-lint.rs:285:31
266
+ --> $DIR/deprecation-lint.rs:285:17
267
267
|
268
268
LL | ... let _ = nested::Enum::DeprecatedVariant;
269
- | ^^^^^^^^^^^^^^^^^
269
+ | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
270
270
271
271
error: use of deprecated tuple struct `this_crate::nested::DeprecatedTupleStruct`: text
272
- --> $DIR/deprecation-lint.rs:287:25
272
+ --> $DIR/deprecation-lint.rs:287:17
273
273
|
274
274
LL | ... let _ = nested::DeprecatedTupleStruct (1);
275
- | ^^^^^^^^^^^^^^^^^^^^^
275
+ | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
276
276
277
277
error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
278
- --> $DIR/deprecation-lint.rs:292:16
278
+ --> $DIR/deprecation-lint.rs:292:9
279
279
|
280
280
LL | Trait::trait_deprecated(&foo);
281
- | ^^^^^^^^^^^^^^^^
281
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^
282
282
283
283
error: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
284
- --> $DIR/deprecation-lint.rs:294:25
284
+ --> $DIR/deprecation-lint.rs:294:9
285
285
|
286
286
LL | <Foo as Trait>::trait_deprecated(&foo);
287
- | ^^^^^^^^^^^^^^^^
287
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
288
288
289
289
error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
290
- --> $DIR/deprecation-lint.rs:296:16
290
+ --> $DIR/deprecation-lint.rs:296:9
291
291
|
292
292
LL | Trait::trait_deprecated_text(&foo);
293
- | ^^^^^^^^^^^^^^^^^^^^^
293
+ | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
294
294
295
295
error: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
296
- --> $DIR/deprecation-lint.rs:298:25
296
+ --> $DIR/deprecation-lint.rs:298:9
297
297
|
298
298
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
299
- | ^^^^^^^^^^^^^^^^^^^^^
299
+ | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
300
300
301
301
error: use of deprecated function `this_crate::test_fn_closure_body::{closure#0}::bar`
302
302
--> $DIR/deprecation-lint.rs:316:13
0 commit comments