1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
2 --> $DIR/type-placeholder-fn-in-const.rs:4:25
4 LL | const TEST: fn() -> _;
5 | ^ not allowed in type signatures
7 error[E0121]: the placeholder `_` is not allowed within types on item signatures for constants
8 --> $DIR/type-placeholder-fn-in-const.rs:4:25
10 LL | const TEST: fn() -> _;
11 | ^ not allowed in type signatures
13 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
14 --> $DIR/type-placeholder-fn-in-const.rs:10:25
16 LL | const TEST: fn() -> _ = 42;
17 | ^ not allowed in type signatures
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0121`.