mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
14 lines
401 B
Plaintext
14 lines
401 B
Plaintext
error: type `for<'a> fn(&'a foo::S) {foo::S::f}` is private
|
|
--> $DIR/impl_items.rs:10: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
|
|
|