blob: eaa12b4192dc60c4b55e68a91a274806913b01fb (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0121]: the const placeholder `_` is not allowed within types on item signatures for generics
--> $DIR/array-in-sig.rs:4:18
|
LL | fn foo() -> [u8; _] {
| ^ not allowed in type signatures
error: aborting due to previous error
For more information about this error, try `rustc --explain E0121`.
|