]>
Commit | Line | Data |
---|---|---|
3dfed10e XL |
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; | |
6a06907d | 5 | | ^ not allowed in type signatures |
3dfed10e XL |
6 | |
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0121`. |