@@ -11,16 +11,16 @@ LL | #![warn(deprecated)]
11
11
| ^^^^^^^^^^
12
12
13
13
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
14
- --> $DIR/lint-stability-deprecated.rs:29:9
14
+ --> $DIR/lint-stability-deprecated.rs:29:16
15
15
|
16
16
LL | Trait::trait_deprecated(&foo);
17
- | ^^^^^^^ ^^^^^^^^^^^^^^^^
17
+ | ^^^^^^^^^^^^^^^^
18
18
19
19
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
20
- --> $DIR/lint-stability-deprecated.rs:31:9
20
+ --> $DIR/lint-stability-deprecated.rs:31:25
21
21
|
22
22
LL | <Foo as Trait>::trait_deprecated(&foo);
23
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
23
+ | ^^^^^^^^^^^^^^^^
24
24
25
25
warning: use of deprecated function `lint_stability::deprecated_text`: text
26
26
--> $DIR/lint-stability-deprecated.rs:33:9
@@ -29,16 +29,16 @@ LL | deprecated_text();
29
29
| ^^^^^^^^^^^^^^^
30
30
31
31
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
32
- --> $DIR/lint-stability-deprecated.rs:38:9
32
+ --> $DIR/lint-stability-deprecated.rs:38:16
33
33
|
34
34
LL | ... Trait::trait_deprecated_text(&foo);
35
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
35
+ | ^^^^^^^^^^^^^^^^^^^^^
36
36
37
37
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
38
- --> $DIR/lint-stability-deprecated.rs:40:9
38
+ --> $DIR/lint-stability-deprecated.rs:40:25
39
39
|
40
40
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
41
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
41
+ | ^^^^^^^^^^^^^^^^^^^^^
42
42
43
43
warning: use of deprecated function `lint_stability::deprecated_unstable`: text
44
44
--> $DIR/lint-stability-deprecated.rs:42:9
@@ -47,16 +47,16 @@ LL | deprecated_unstable();
47
47
| ^^^^^^^^^^^^^^^^^^^
48
48
49
49
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
50
- --> $DIR/lint-stability-deprecated.rs:47:9
50
+ --> $DIR/lint-stability-deprecated.rs:47:16
51
51
|
52
52
LL | ... Trait::trait_deprecated_unstable(&foo);
53
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
53
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
54
54
55
55
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
56
- --> $DIR/lint-stability-deprecated.rs:49:9
56
+ --> $DIR/lint-stability-deprecated.rs:49:25
57
57
|
58
58
LL | ... <Foo as Trait>::trait_deprecated_unstable(&foo);
59
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
59
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
60
60
61
61
warning: use of deprecated function `lint_stability::deprecated_unstable_text`: text
62
62
--> $DIR/lint-stability-deprecated.rs:51:9
@@ -65,16 +65,16 @@ LL | deprecated_unstable_text();
65
65
| ^^^^^^^^^^^^^^^^^^^^^^^^
66
66
67
67
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
68
- --> $DIR/lint-stability-deprecated.rs:56:9
68
+ --> $DIR/lint-stability-deprecated.rs:56:16
69
69
|
70
70
LL | ... Trait::trait_deprecated_unstable_text(&foo);
71
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
72
73
73
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
74
- --> $DIR/lint-stability-deprecated.rs:58:9
74
+ --> $DIR/lint-stability-deprecated.rs:58:25
75
75
|
76
76
LL | ... <Foo as Trait>::trait_deprecated_unstable_text(&foo);
77
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
77
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
78
78
79
79
warning: use of deprecated struct `lint_stability::DeprecatedStruct`: text
80
80
--> $DIR/lint-stability-deprecated.rs:108:17
@@ -101,16 +101,16 @@ LL | let _ = DeprecatedUnstableUnitStruct;
101
101
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102
102
103
103
warning: use of deprecated variant `lint_stability::Enum::DeprecatedVariant`: text
104
- --> $DIR/lint-stability-deprecated.rs:123:17
104
+ --> $DIR/lint-stability-deprecated.rs:123:23
105
105
|
106
106
LL | let _ = Enum::DeprecatedVariant;
107
- | ^^^^^^ ^^^^^^^^^^^^^^^^^
107
+ | ^^^^^^^^^^^^^^^^^
108
108
109
109
warning: use of deprecated variant `lint_stability::Enum::DeprecatedUnstableVariant`: text
110
- --> $DIR/lint-stability-deprecated.rs:124:17
110
+ --> $DIR/lint-stability-deprecated.rs:124:23
111
111
|
112
112
LL | let _ = Enum::DeprecatedUnstableVariant;
113
- | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
113
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
114
114
115
115
warning: use of deprecated struct `lint_stability::DeprecatedTupleStruct`: text
116
116
--> $DIR/lint-stability-deprecated.rs:128:17
@@ -143,52 +143,52 @@ LL | macro_test_arg!(macro_test_arg!(deprecated_text()));
143
143
| ^^^^^^^^^^^^^^^
144
144
145
145
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
146
- --> $DIR/lint-stability-deprecated.rs:145:9
146
+ --> $DIR/lint-stability-deprecated.rs:145:16
147
147
|
148
148
LL | Trait::trait_deprecated(&foo);
149
- | ^^^^^^^ ^^^^^^^^^^^^^^^^
149
+ | ^^^^^^^^^^^^^^^^
150
150
151
151
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated`: text
152
- --> $DIR/lint-stability-deprecated.rs:147:9
152
+ --> $DIR/lint-stability-deprecated.rs:147:25
153
153
|
154
154
LL | <Foo as Trait>::trait_deprecated(&foo);
155
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
155
+ | ^^^^^^^^^^^^^^^^
156
156
157
157
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
158
- --> $DIR/lint-stability-deprecated.rs:149:9
158
+ --> $DIR/lint-stability-deprecated.rs:149:16
159
159
|
160
160
LL | ... Trait::trait_deprecated_text(&foo);
161
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
161
+ | ^^^^^^^^^^^^^^^^^^^^^
162
162
163
163
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_text`: text
164
- --> $DIR/lint-stability-deprecated.rs:151:9
164
+ --> $DIR/lint-stability-deprecated.rs:151:25
165
165
|
166
166
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
167
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
167
+ | ^^^^^^^^^^^^^^^^^^^^^
168
168
169
169
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
170
- --> $DIR/lint-stability-deprecated.rs:153:9
170
+ --> $DIR/lint-stability-deprecated.rs:153:16
171
171
|
172
172
LL | ... Trait::trait_deprecated_unstable(&foo);
173
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
173
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
174
174
175
175
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable`: text
176
- --> $DIR/lint-stability-deprecated.rs:155:9
176
+ --> $DIR/lint-stability-deprecated.rs:155:25
177
177
|
178
178
LL | ... <Foo as Trait>::trait_deprecated_unstable(&foo);
179
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
179
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
180
180
181
181
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
182
- --> $DIR/lint-stability-deprecated.rs:157:9
182
+ --> $DIR/lint-stability-deprecated.rs:157:16
183
183
|
184
184
LL | ... Trait::trait_deprecated_unstable_text(&foo);
185
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
185
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186
186
187
187
warning: use of deprecated associated function `lint_stability::Trait::trait_deprecated_unstable_text`: text
188
- --> $DIR/lint-stability-deprecated.rs:159:9
188
+ --> $DIR/lint-stability-deprecated.rs:159:25
189
189
|
190
190
LL | ... <Foo as Trait>::trait_deprecated_unstable_text(&foo);
191
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
191
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
192
192
193
193
warning: use of deprecated trait `lint_stability::DeprecatedTrait`: text
194
194
--> $DIR/lint-stability-deprecated.rs:187:10
@@ -203,10 +203,10 @@ LL | trait LocalTrait2 : DeprecatedTrait { }
203
203
| ^^^^^^^^^^^^^^^
204
204
205
205
warning: use of deprecated function `inheritance::inherited_stability::unstable_mod::deprecated`: text
206
- --> $DIR/lint-stability-deprecated.rs:208:9
206
+ --> $DIR/lint-stability-deprecated.rs:208:23
207
207
|
208
208
LL | unstable_mod::deprecated();
209
- | ^^^^^^^^^^^^^^ ^^^^^^^^^^
209
+ | ^^^^^^^^^^
210
210
211
211
warning: use of deprecated function `this_crate::deprecated`: text
212
212
--> $DIR/lint-stability-deprecated.rs:330:9
@@ -215,16 +215,16 @@ LL | deprecated();
215
215
| ^^^^^^^^^^
216
216
217
217
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
218
- --> $DIR/lint-stability-deprecated.rs:335:9
218
+ --> $DIR/lint-stability-deprecated.rs:335:16
219
219
|
220
220
LL | Trait::trait_deprecated(&foo);
221
- | ^^^^^^^ ^^^^^^^^^^^^^^^^
221
+ | ^^^^^^^^^^^^^^^^
222
222
223
223
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
224
- --> $DIR/lint-stability-deprecated.rs:337:9
224
+ --> $DIR/lint-stability-deprecated.rs:337:25
225
225
|
226
226
LL | <Foo as Trait>::trait_deprecated(&foo);
227
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
227
+ | ^^^^^^^^^^^^^^^^
228
228
229
229
warning: use of deprecated function `this_crate::deprecated_text`: text
230
230
--> $DIR/lint-stability-deprecated.rs:339:9
@@ -233,16 +233,16 @@ LL | deprecated_text();
233
233
| ^^^^^^^^^^^^^^^
234
234
235
235
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
236
- --> $DIR/lint-stability-deprecated.rs:344:9
236
+ --> $DIR/lint-stability-deprecated.rs:344:16
237
237
|
238
238
LL | Trait::trait_deprecated_text(&foo);
239
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
239
+ | ^^^^^^^^^^^^^^^^^^^^^
240
240
241
241
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
242
- --> $DIR/lint-stability-deprecated.rs:346:9
242
+ --> $DIR/lint-stability-deprecated.rs:346:25
243
243
|
244
244
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
245
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
245
+ | ^^^^^^^^^^^^^^^^^^^^^
246
246
247
247
warning: use of deprecated struct `this_crate::DeprecatedStruct`: text
248
248
--> $DIR/lint-stability-deprecated.rs:384:17
@@ -257,10 +257,10 @@ LL | let _ = DeprecatedUnitStruct;
257
257
| ^^^^^^^^^^^^^^^^^^^^
258
258
259
259
warning: use of deprecated unit variant `this_crate::Enum::DeprecatedVariant`: text
260
- --> $DIR/lint-stability-deprecated.rs:395:17
260
+ --> $DIR/lint-stability-deprecated.rs:395:23
261
261
|
262
262
LL | let _ = Enum::DeprecatedVariant;
263
- | ^^^^^^ ^^^^^^^^^^^^^^^^^
263
+ | ^^^^^^^^^^^^^^^^^
264
264
265
265
warning: use of deprecated tuple struct `this_crate::DeprecatedTupleStruct`: text
266
266
--> $DIR/lint-stability-deprecated.rs:399:17
@@ -269,28 +269,28 @@ LL | let _ = DeprecatedTupleStruct (1);
269
269
| ^^^^^^^^^^^^^^^^^^^^^
270
270
271
271
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
272
- --> $DIR/lint-stability-deprecated.rs:406:9
272
+ --> $DIR/lint-stability-deprecated.rs:406:16
273
273
|
274
274
LL | Trait::trait_deprecated(&foo);
275
- | ^^^^^^^ ^^^^^^^^^^^^^^^^
275
+ | ^^^^^^^^^^^^^^^^
276
276
277
277
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated`: text
278
- --> $DIR/lint-stability-deprecated.rs:408:9
278
+ --> $DIR/lint-stability-deprecated.rs:408:25
279
279
|
280
280
LL | <Foo as Trait>::trait_deprecated(&foo);
281
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
281
+ | ^^^^^^^^^^^^^^^^
282
282
283
283
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
284
- --> $DIR/lint-stability-deprecated.rs:410:9
284
+ --> $DIR/lint-stability-deprecated.rs:410:16
285
285
|
286
286
LL | Trait::trait_deprecated_text(&foo);
287
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
287
+ | ^^^^^^^^^^^^^^^^^^^^^
288
288
289
289
warning: use of deprecated associated function `this_crate::Trait::trait_deprecated_text`: text
290
- --> $DIR/lint-stability-deprecated.rs:412:9
290
+ --> $DIR/lint-stability-deprecated.rs:412:25
291
291
|
292
292
LL | ... <Foo as Trait>::trait_deprecated_text(&foo);
293
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
293
+ | ^^^^^^^^^^^^^^^^^^^^^
294
294
295
295
warning: use of deprecated function `this_crate::test_fn_body::fn_in_body`: text
296
296
--> $DIR/lint-stability-deprecated.rs:439:9
0 commit comments