5 //~^ ERROR: the placeholder `_` is not allowed within types on item signatures for functions [E0121]
6 //~| ERROR: the placeholder `_` is not allowed within types on item signatures for constants [E0121]
9 impl Test for MyStruct {
10 const TEST: fn() -> _ = 42;
11 //~^ ERROR: the placeholder `_` is not allowed within types on item signatures for functions [E0121]