@@ -79,7 +79,7 @@ LL | static TEST3: _ = "test";
7979 | ^
8080 | |
8181 | not allowed in type signatures
82- | help: replace `_` with the correct type: `&str`
82+ | help: replace with the correct type: `&str`
8383
8484error[E0121]: the type placeholder `_` is not allowed within types on item signatures
8585 --> $DIR/typeck_type_placeholder_item.rs:19:15
@@ -88,7 +88,7 @@ LL | static TEST4: _ = 145;
8888 | ^
8989 | |
9090 | not allowed in type signatures
91- | help: replace `_` with the correct type: `i32`
91+ | help: replace with the correct type: `i32`
9292
9393error[E0121]: the type placeholder `_` is not allowed within types on item signatures
9494 --> $DIR/typeck_type_placeholder_item.rs:22:15
@@ -210,7 +210,7 @@ LL | static B: _ = 42;
210210 | ^
211211 | |
212212 | not allowed in type signatures
213- | help: replace `_` with the correct type: `i32`
213+ | help: replace with the correct type: `i32`
214214
215215error[E0121]: the type placeholder `_` is not allowed within types on item signatures
216216 --> $DIR/typeck_type_placeholder_item.rs:80:15
@@ -244,7 +244,7 @@ LL | static FN_TEST3: _ = "test";
244244 | ^
245245 | |
246246 | not allowed in type signatures
247- | help: replace `_` with the correct type: `&str`
247+ | help: replace with the correct type: `&str`
248248
249249error[E0121]: the type placeholder `_` is not allowed within types on item signatures
250250 --> $DIR/typeck_type_placeholder_item.rs:92:22
@@ -253,7 +253,7 @@ LL | static FN_TEST4: _ = 145;
253253 | ^
254254 | |
255255 | not allowed in type signatures
256- | help: replace `_` with the correct type: `i32`
256+ | help: replace with the correct type: `i32`
257257
258258error[E0121]: the type placeholder `_` is not allowed within types on item signatures
259259 --> $DIR/typeck_type_placeholder_item.rs:95:22
@@ -435,7 +435,7 @@ LL | const _: Option<_> = map(value);
435435 | ^^^^^^^^^
436436 | |
437437 | not allowed in type signatures
438- | help: replace `_` with the correct type: `Option<u8>`
438+ | help: replace with the correct type: `Option<u8>`
439439
440440error[E0121]: the type placeholder `_` is not allowed within types on item signatures
441441 --> $DIR/typeck_type_placeholder_item.rs:144:31
@@ -526,7 +526,7 @@ LL | const D: _ = 42;
526526 | ^
527527 | |
528528 | not allowed in type signatures
529- | help: replace `_` with the correct type: `i32`
529+ | help: replace with the correct type: `i32`
530530
531531error[E0121]: the type placeholder `_` is not allowed within types on item signatures
532532 --> $DIR/typeck_type_placeholder_item.rs:201:26
@@ -639,7 +639,7 @@ LL | const D: _ = 42;
639639 | ^
640640 | |
641641 | not allowed in type signatures
642- | help: replace `_` with the correct type: `i32`
642+ | help: replace with the correct type: `i32`
643643
644644error: aborting due to 69 previous errors; 1 warning emitted
645645
0 commit comments