2 fn foo(self, f: impl FnOnce());
5 impl<T> Foo<T> for () {
6 fn foo(self, f: impl FnOnce()) {
12 // FIXME: This should ideally use a fully qualified path
13 // without mentioning the generic arguments of `foo`.
14 ().foo(|| ()) //~ ERROR type annotations needed