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