blob: e145da5623ac0c0a98e6c9855e03d0d3ab15f78d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
--> $DIR/bad-recursive-type-sig-infer.rs:1:11
|
LL | fn a() -> _ {
| ^ not allowed in type signatures
error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
--> $DIR/bad-recursive-type-sig-infer.rs:6:11
|
LL | fn b() -> _ {
| ^ not allowed in type signatures
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0121`.
|