]>
Commit | Line | Data |
---|---|---|
83c7162d | 1 | error: type `for<'r> fn(&'r foo::S) {foo::S::f}` is private |
0731742a | 2 | --> $DIR/impl_items.rs:12:23 |
83c7162d XL |
3 | | |
4 | LL | let _: () = S.f(); //~ ERROR type `for<'r> fn(&'r foo::S) {foo::S::f}` is private | |
5 | | ^ | |
6 | ... | |
7 | LL | foo::m!(); | |
8 | | ---------- in this macro invocation | |
9 | ||
10 | error: aborting due to previous error | |
11 |