1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
2 --> $DIR/in-signature.rs:7:21
4 LL | fn arr_fn() -> [u8; _] {
7 | | not allowed in type signatures
8 | help: replace with the correct return type: `[u8; 3]`
10 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
11 --> $DIR/in-signature.rs:12:24
13 LL | fn ty_fn() -> Bar<i32, _> {
16 | | not allowed in type signatures
17 | help: replace with the correct return type: `Bar<i32, 3>`
19 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
20 --> $DIR/in-signature.rs:17:25
22 LL | fn ty_fn_mixed() -> Bar<_, _> {
25 | | | not allowed in type signatures
26 | | not allowed in type signatures
27 | help: replace with the correct return type: `Bar<i32, 3>`
29 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
30 --> $DIR/in-signature.rs:22:15
32 LL | const ARR_CT: [u8; _] = [0; 3];
33 | ^^^^^^^ not allowed in type signatures
35 error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables
36 --> $DIR/in-signature.rs:24:20
38 LL | static ARR_STATIC: [u8; _] = [0; 3];
39 | ^^^^^^^ not allowed in type signatures
41 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
42 --> $DIR/in-signature.rs:26:14
44 LL | const TY_CT: Bar<i32, _> = Bar::<i32, 3>(0);
47 | not allowed in type signatures
48 | help: replace with the correct type: `Bar<i32, 3>`
50 error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables
51 --> $DIR/in-signature.rs:28:19
53 LL | static TY_STATIC: Bar<i32, _> = Bar::<i32, 3>(0);
56 | not allowed in type signatures
57 | help: replace with the correct type: `Bar<i32, 3>`
59 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
60 --> $DIR/in-signature.rs:30:20
62 LL | const TY_CT_MIXED: Bar<_, _> = Bar::<i32, 3>(0);
65 | not allowed in type signatures
66 | help: replace with the correct type: `Bar<i32, 3>`
68 error[E0121]: the placeholder `_` is not allowed within types on item signatures for static variables
69 --> $DIR/in-signature.rs:32:25
71 LL | static TY_STATIC_MIXED: Bar<_, _> = Bar::<i32, 3>(0);
74 | not allowed in type signatures
75 | help: replace with the correct type: `Bar<i32, 3>`
77 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
78 --> $DIR/in-signature.rs:35:21
80 LL | const ARR: [u8; _];
81 | ^ not allowed in type signatures
83 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
84 --> $DIR/in-signature.rs:39:25
86 LL | const ARR: Bar<i32, _>;
87 | ^ not allowed in type signatures
89 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
90 --> $DIR/in-signature.rs:43:20
92 LL | const ARR: Bar<_, _>;
93 | ^ ^ not allowed in type signatures
95 | not allowed in type signatures
97 error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated types
98 --> $DIR/in-signature.rs:51:23
100 LL | type Assoc = [u8; _];
101 | ^ not allowed in type signatures
103 error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated types
104 --> $DIR/in-signature.rs:55:27
106 LL | type Assoc = Bar<i32, _>;
107 | ^ not allowed in type signatures
109 error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated types
110 --> $DIR/in-signature.rs:59:22
112 LL | type Assoc = Bar<_, _>;
113 | ^ ^ not allowed in type signatures
115 | not allowed in type signatures
117 error: aborting due to 15 previous errors
119 For more information about this error, try `rustc --explain E0121`.