2022-09-21 17:57:30 +02:00
|
|
|
error: type `for<'a> fn(&'a foo::S) {foo::S::f}` is private
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/impl_items.rs:12:23
|
2018-04-07 17:28:31 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let _: () = S.f();
|
2020-03-22 15:36:54 -07:00
|
|
|
| ^ private type
|
2018-04-07 17:28:31 +03:00
|
|
|
...
|
|
|
|
LL | foo::m!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| --------- in this macro invocation
|
2019-12-16 15:56:47 +02:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `foo::m` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-04-07 17:28:31 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|