```
error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
--> $DIR/in-signature.rs:6:21
|
LL | fn arr_fn() -> [u8; _] {
| ^ not allowed in type signatures
|
help: replace with the correct return type
|
LL - fn arr_fn() -> [u8; _] {
LL + fn arr_fn() -> [u8; 3] {
|
```
|
||
|---|---|---|
| .. | ||
| array-repeat-expr-lib.rs | ||
| array-repeat-expr.rs | ||
| dont-use-defaults.rs | ||
| in-signature.rs | ||
| in-signature.stderr | ||
| infer-arg-test.rs | ||
| infer-arg-test.stderr | ||
| infer_arg_and_const_arg.rs | ||
| issue-91614.rs | ||
| issue-91614.stderr | ||
| paren_infer.rs | ||