@@ -79,7 +79,7 @@ LL | static TEST3: _ = "test";
79
79
| ^
80
80
| |
81
81
| not allowed in type signatures
82
- | help: replace `_` with the correct type: `&str`
82
+ | help: replace with the correct type: `&str`
83
83
84
84
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
85
85
--> $DIR/typeck_type_placeholder_item.rs:19:15
@@ -88,7 +88,7 @@ LL | static TEST4: _ = 145;
88
88
| ^
89
89
| |
90
90
| not allowed in type signatures
91
- | help: replace `_` with the correct type: `i32`
91
+ | help: replace with the correct type: `i32`
92
92
93
93
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
94
94
--> $DIR/typeck_type_placeholder_item.rs:22:15
@@ -210,7 +210,7 @@ LL | static B: _ = 42;
210
210
| ^
211
211
| |
212
212
| not allowed in type signatures
213
- | help: replace `_` with the correct type: `i32`
213
+ | help: replace with the correct type: `i32`
214
214
215
215
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
216
216
--> $DIR/typeck_type_placeholder_item.rs:80:15
@@ -244,7 +244,7 @@ LL | static FN_TEST3: _ = "test";
244
244
| ^
245
245
| |
246
246
| not allowed in type signatures
247
- | help: replace `_` with the correct type: `&str`
247
+ | help: replace with the correct type: `&str`
248
248
249
249
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
250
250
--> $DIR/typeck_type_placeholder_item.rs:92:22
@@ -253,7 +253,7 @@ LL | static FN_TEST4: _ = 145;
253
253
| ^
254
254
| |
255
255
| not allowed in type signatures
256
- | help: replace `_` with the correct type: `i32`
256
+ | help: replace with the correct type: `i32`
257
257
258
258
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
259
259
--> $DIR/typeck_type_placeholder_item.rs:95:22
@@ -435,7 +435,7 @@ LL | const _: Option<_> = map(value);
435
435
| ^^^^^^^^^
436
436
| |
437
437
| not allowed in type signatures
438
- | help: replace `_` with the correct type: `Option<u8>`
438
+ | help: replace with the correct type: `Option<u8>`
439
439
440
440
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
441
441
--> $DIR/typeck_type_placeholder_item.rs:144:31
@@ -526,7 +526,7 @@ LL | const D: _ = 42;
526
526
| ^
527
527
| |
528
528
| not allowed in type signatures
529
- | help: replace `_` with the correct type: `i32`
529
+ | help: replace with the correct type: `i32`
530
530
531
531
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
532
532
--> $DIR/typeck_type_placeholder_item.rs:201:26
@@ -639,7 +639,7 @@ LL | const D: _ = 42;
639
639
| ^
640
640
| |
641
641
| not allowed in type signatures
642
- | help: replace `_` with the correct type: `i32`
642
+ | help: replace with the correct type: `i32`
643
643
644
644
error: aborting due to 69 previous errors; 1 warning emitted
645
645
0 commit comments