rust/src/test/ui/hygiene/impl_items.stderr

14 lines
402 B
Plaintext
Raw Normal View History

2018-04-07 17:28:31 +03:00
error: type `for<'r> fn(&'r 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();
| ^ private type
2018-04-07 17:28:31 +03:00
...
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)
2018-04-07 17:28:31 +03:00
error: aborting due to previous error