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