1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
2 --> $DIR/issue-74086.rs:2:20
4 LL | static BUG: fn(_) -> u8 = |_| 8;
5 | ^ not allowed in type signatures
7 error[E0121]: the placeholder `_` is not allowed within types on item signatures for static items
8 --> $DIR/issue-74086.rs:2:20
10 LL | static BUG: fn(_) -> u8 = |_| 8;
11 | ^ not allowed in type signatures
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0121`.