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