1 error[E0616]: field `c_object` of struct `stuff::Item` is private
2 --> $DIR/issue-25386.rs:29:11
4 LL | (*$var.c_object).$member.is_some()
7 LL | println!("{}", check_ptr_exist!(item, name));
8 | ---------------------------- in this macro invocation
10 error[E0616]: field `name` of struct `stuff::CObj` is private
11 --> $DIR/issue-25386.rs:29:9
13 LL | (*$var.c_object).$member.is_some()
14 | ^^^^^^^^^^^^^^^^^^^^^^^^
16 LL | println!("{}", check_ptr_exist!(item, name));
17 | ---------------------------- in this macro invocation
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0616`.