1 error: type `for<'r> fn(&'r foo::S) {foo::S::f}` is private
2 --> $DIR/impl_items.rs:12:23
4 LL | let _: () = S.f();
8 | --------- in this macro invocation
10 = note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
12 error: aborting due to previous error