fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0616]: field `c_object` of struct `stuff::Item` is private 2 --> $DIR/issue-25386.rs:19:16 3 | 4LL | (*$var.c_object).$member.is_some() 5 | ^^^^^^^^ private field 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:26:43 14 | 15LL | println!("{}", check_ptr_exist!(item, name)); 16 | ^^^^ private field 17 18error: aborting due to 2 previous errors 19 20For more information about this error, try `rustc --explain E0616`.