1 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
2 --> $DIR/typeck_type_placeholder_item.rs:14:14
4 LL | fn test() -> _ { 5 }
5 | ^ not allowed in type signatures
7 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
8 --> $DIR/typeck_type_placeholder_item.rs:17:16
10 LL | fn test2() -> (_, _) { (5, 5) }
11 | ^ not allowed in type signatures
13 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
14 --> $DIR/typeck_type_placeholder_item.rs:17:19
16 LL | fn test2() -> (_, _) { (5, 5) }
17 | ^ not allowed in type signatures
19 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
20 --> $DIR/typeck_type_placeholder_item.rs:21:15
22 LL | static TEST3: _ = "test";
23 | ^ not allowed in type signatures
25 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
26 --> $DIR/typeck_type_placeholder_item.rs:24:15
28 LL | static TEST4: _ = 145;
29 | ^ not allowed in type signatures
31 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
32 --> $DIR/typeck_type_placeholder_item.rs:27:16
34 LL | static TEST5: (_, _) = (1, 2);
35 | ^ not allowed in type signatures
37 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
38 --> $DIR/typeck_type_placeholder_item.rs:27:19
40 LL | static TEST5: (_, _) = (1, 2);
41 | ^ not allowed in type signatures
43 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
44 --> $DIR/typeck_type_placeholder_item.rs:31:13
46 LL | fn test6(_: _) { }
47 | ^ not allowed in type signatures
49 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
50 --> $DIR/typeck_type_placeholder_item.rs:34:13
52 LL | fn test7(x: _) { let _x: usize = x; }
53 | ^ not allowed in type signatures
55 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
56 --> $DIR/typeck_type_placeholder_item.rs:37:22
58 LL | fn test8(_f: fn() -> _) { }
59 | ^ not allowed in type signatures
61 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
62 --> $DIR/typeck_type_placeholder_item.rs:59:8
65 | ^ not allowed in type signatures
67 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
68 --> $DIR/typeck_type_placeholder_item.rs:61:9
71 | ^ not allowed in type signatures
73 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
74 --> $DIR/typeck_type_placeholder_item.rs:61:12
77 | ^ not allowed in type signatures
79 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
80 --> $DIR/typeck_type_placeholder_item.rs:112:12
83 | ^ not allowed in type signatures
85 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
86 --> $DIR/typeck_type_placeholder_item.rs:114:13
89 | ^ not allowed in type signatures
91 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
92 --> $DIR/typeck_type_placeholder_item.rs:114:16
95 | ^ not allowed in type signatures
97 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
98 --> $DIR/typeck_type_placeholder_item.rs:67:21
100 LL | fn fn_test() -> _ { 5 }
101 | ^ not allowed in type signatures
103 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
104 --> $DIR/typeck_type_placeholder_item.rs:70:23
106 LL | fn fn_test2() -> (_, _) { (5, 5) }
107 | ^ not allowed in type signatures
109 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
110 --> $DIR/typeck_type_placeholder_item.rs:70:26
112 LL | fn fn_test2() -> (_, _) { (5, 5) }
113 | ^ not allowed in type signatures
115 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
116 --> $DIR/typeck_type_placeholder_item.rs:74:22
118 LL | static FN_TEST3: _ = "test";
119 | ^ not allowed in type signatures
121 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
122 --> $DIR/typeck_type_placeholder_item.rs:77:22
124 LL | static FN_TEST4: _ = 145;
125 | ^ not allowed in type signatures
127 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
128 --> $DIR/typeck_type_placeholder_item.rs:80:23
130 LL | static FN_TEST5: (_, _) = (1, 2);
131 | ^ not allowed in type signatures
133 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
134 --> $DIR/typeck_type_placeholder_item.rs:80:26
136 LL | static FN_TEST5: (_, _) = (1, 2);
137 | ^ not allowed in type signatures
139 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
140 --> $DIR/typeck_type_placeholder_item.rs:84:20
142 LL | fn fn_test6(_: _) { }
143 | ^ not allowed in type signatures
145 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
146 --> $DIR/typeck_type_placeholder_item.rs:87:20
148 LL | fn fn_test7(x: _) { let _x: usize = x; }
149 | ^ not allowed in type signatures
151 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
152 --> $DIR/typeck_type_placeholder_item.rs:90:29
154 LL | fn fn_test8(_f: fn() -> _) { }
155 | ^ not allowed in type signatures
157 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
158 --> $DIR/typeck_type_placeholder_item.rs:43:24
160 LL | fn test9(&self) -> _ { () }
161 | ^ not allowed in type signatures
163 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
164 --> $DIR/typeck_type_placeholder_item.rs:46:27
166 LL | fn test10(&self, _x : _) { }
167 | ^ not allowed in type signatures
169 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
170 --> $DIR/typeck_type_placeholder_item.rs:51:24
172 LL | fn clone(&self) -> _ { Test9 }
173 | ^ not allowed in type signatures
175 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
176 --> $DIR/typeck_type_placeholder_item.rs:54:37
178 LL | fn clone_from(&mut self, other: _) { *self = Test9; }
179 | ^ not allowed in type signatures
181 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
182 --> $DIR/typeck_type_placeholder_item.rs:96:31
184 LL | fn fn_test9(&self) -> _ { () }
185 | ^ not allowed in type signatures
187 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
188 --> $DIR/typeck_type_placeholder_item.rs:99:34
190 LL | fn fn_test10(&self, _x : _) { }
191 | ^ not allowed in type signatures
193 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
194 --> $DIR/typeck_type_placeholder_item.rs:104:28
196 LL | fn clone(&self) -> _ { FnTest9 }
197 | ^ not allowed in type signatures
199 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
200 --> $DIR/typeck_type_placeholder_item.rs:107:41
202 LL | fn clone_from(&mut self, other: _) { *self = FnTest9; }
203 | ^ not allowed in type signatures
205 error: aborting due to 34 previous errors
207 For more information about this error, try `rustc --explain E0121`.