1 fn foo(():(), ():()) {}
6 fn baz(self, (): ()) { }
7 fn generic<T>(self, _: T) { }
11 let _: Result<(), String> = Ok(); //~ ERROR this enum variant takes
12 foo(); //~ ERROR this function takes
13 foo(()); //~ ERROR this function takes
14 bar(); //~ ERROR this function takes
15 S.baz(); //~ ERROR this function takes
16 S.generic::<()>(); //~ ERROR this function takes