rust/tests/ui/hygiene/impl_items.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
401 B
Plaintext
Raw Normal View History

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();
| ^ 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
|
= 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