1 // Regression test for #75883.
6 pub fn run() -> Result<_> {
7 //~^ ERROR: this enum takes 2 generic arguments but 1 generic argument was supplied
8 //~| ERROR: the placeholder `_` is not allowed within types on item signatures for return types
15 pub fn interact(&mut self) -> Result<_> {
16 //~^ ERROR: this enum takes 2 generic arguments but 1 generic argument was supplied
17 //~| ERROR: the placeholder `_` is not allowed within types on item signatures for return types