blob: 9b7c0d7cc6e2e4671c31ea8234674dda1b7afbc4 (
plain)
1
2
3
4
5
|
fn main() {
static BUG: fn(_) -> u8 = |_| 8;
//~^ ERROR the placeholder `_` is not allowed within types on item signatures for functions [E0121]
//~| ERROR the placeholder `_` is not allowed within types on item signatures for static items
}
|