2020-09-02 07:40:56 +00:00
|
|
|
error[E0616]: field `c_object` of struct `Item` is private
|
2020-03-22 18:18:06 +00:00
|
|
|
--> $DIR/issue-25386.rs:19:16
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
|
LL | (*$var.c_object).$member.is_some()
|
2020-03-22 18:18:06 +00:00
|
|
|
| ^^^^^^^^ private field
|
2018-07-15 21:11:54 +00:00
|
|
|
...
|
|
|
|
LL | println!("{}", check_ptr_exist!(item, name));
|
|
|
|
| ---------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `check_ptr_exist` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0616`.
|