@@ -30,57 +30,71 @@ error[E0121]: the placeholder `_` is not allowed within types on item signatures
3030 --> $DIR/in-signature.rs:22:20
3131 |
3232LL | const ARR_CT: [u8; _] = [0; 3];
33- | -----^-
34- | | |
35- | | not allowed in type signatures
36- | help: replace with the correct type: `[u8; 3]`
33+ | ^ not allowed in type signatures
34+ |
35+ help: replace this with a fully-specified type
36+ |
37+ LL | const ARR_CT: [u8; 3] = [0; 3];
38+ | ~~~~~~~
3739
3840error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables
3941 --> $DIR/in-signature.rs:24:25
4042 |
4143LL | static ARR_STATIC: [u8; _] = [0; 3];
42- | -----^-
43- | | |
44- | | not allowed in type signatures
45- | help: replace with the correct type: `[u8; 3]`
44+ | ^ not allowed in type signatures
45+ |
46+ help: replace this with a fully-specified type
47+ |
48+ LL | static ARR_STATIC: [u8; 3] = [0; 3];
49+ | ~~~~~~~
4650
4751error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
4852 --> $DIR/in-signature.rs:26:23
4953 |
5054LL | const TY_CT: Bar<i32, _> = Bar::<i32, 3>(0);
51- | ---------^-
52- | | |
53- | | not allowed in type signatures
54- | help: replace with the correct type: `Bar<i32, 3>`
55+ | ^ not allowed in type signatures
56+ |
57+ help: replace this with a fully-specified type
58+ |
59+ LL | const TY_CT: Bar<i32, 3> = Bar::<i32, 3>(0);
60+ | ~~~~~~~~~~~
5561
5662error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables
5763 --> $DIR/in-signature.rs:28:28
5864 |
5965LL | static TY_STATIC: Bar<i32, _> = Bar::<i32, 3>(0);
60- | ---------^-
61- | | |
62- | | not allowed in type signatures
63- | help: replace with the correct type: `Bar<i32, 3>`
66+ | ^ not allowed in type signatures
67+ |
68+ help: replace this with a fully-specified type
69+ |
70+ LL | static TY_STATIC: Bar<i32, 3> = Bar::<i32, 3>(0);
71+ | ~~~~~~~~~~~
6472
6573error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
6674 --> $DIR/in-signature.rs:30:24
6775 |
6876LL | const TY_CT_MIXED: Bar<_, _> = Bar::<i32, 3>(0);
69- | ----^--^-
70- | | | |
71- | | | not allowed in type signatures
72- | | not allowed in type signatures
73- | help: replace with the correct type: `Bar<i32, 3>`
77+ | ^ ^ not allowed in type signatures
78+ | |
79+ | not allowed in type signatures
80+ |
81+ help: replace this with a fully-specified type
82+ |
83+ LL | const TY_CT_MIXED: Bar<i32, 3> = Bar::<i32, 3>(0);
84+ | ~~~~~~~~~~~
7485
7586error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables
7687 --> $DIR/in-signature.rs:32:29
7788 |
7889LL | static TY_STATIC_MIXED: Bar<_, _> = Bar::<i32, 3>(0);
79- | ----^--^-
80- | | | |
81- | | | not allowed in type signatures
82- | | not allowed in type signatures
83- | help: replace with the correct type: `Bar<i32, 3>`
90+ | ^ ^ not allowed in type signatures
91+ | |
92+ | not allowed in type signatures
93+ |
94+ help: replace this with a fully-specified type
95+ |
96+ LL | static TY_STATIC_MIXED: Bar<i32, 3> = Bar::<i32, 3>(0);
97+ | ~~~~~~~~~~~
8498
8599error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated types
86100 --> $DIR/in-signature.rs:51:23
0 commit comments