]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-25386.stderr
Auto merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz
[rust.git] / src / test / ui / issues / issue-25386.stderr
1 error[E0616]: field `c_object` of struct `stuff::Item` is private
2   --> $DIR/issue-25386.rs:29:11
3    |
4 LL |         (*$var.c_object).$member.is_some()
5    |           ^^^^^^^^^^^^^
6 ...
7 LL |     println!("{}", check_ptr_exist!(item, name));
8    |                    ---------------------------- in this macro invocation
9
10 error[E0616]: field `name` of struct `stuff::CObj` is private
11   --> $DIR/issue-25386.rs:29:9
12    |
13 LL |         (*$var.c_object).$member.is_some()
14    |         ^^^^^^^^^^^^^^^^^^^^^^^^
15 ...
16 LL |     println!("{}", check_ptr_exist!(item, name));
17    |                    ---------------------------- in this macro invocation
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0616`.