fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
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 | 10 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 11 12error[E0616]: field `name` of struct `stuff::CObj` is private 13 --> $DIR/issue-25386.rs:19:9 14 | 15LL | (*$var.c_object).$member.is_some() 16 | ^^^^^^^^^^^^^^^^^^^^^^^^ 17... 18LL | println!("{}", check_ptr_exist!(item, name)); 19 | ---------------------------- in this macro invocation 20 | 21 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0616`.