]>
Commit | Line | Data |
---|---|---|
72b1a166 FG |
1 | error[E0121]: the type placeholder `_` is not allowed within types on item signatures |
2 | --> $DIR/issue-74086.rs:2:20 | |
3 | | | |
4 | LL | static BUG: fn(_) -> u8 = |_| 8; | |
5 | | ^ | |
6 | | | | |
7 | | not allowed in type signatures | |
8 | | help: use type parameters instead: `T` | |
9 | ||
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0121`. |