2018-07-15 14:11:54 -07:00
|
|
|
error[E0616]: field `c_object` of struct `stuff::Item` is private
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-25386.rs:19:11
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
|
LL | (*$var.c_object).$member.is_some()
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | println!("{}", check_ptr_exist!(item, name));
|
|
|
|
| ---------------------------- in this macro invocation
|
|
|
|
|
|
|
|
error[E0616]: field `name` of struct `stuff::CObj` is private
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-25386.rs:19:9
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
|
LL | (*$var.c_object).$member.is_some()
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | println!("{}", check_ptr_exist!(item, name));
|
|
|
|
| ---------------------------- in this macro invocation
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0616`.
|