fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
564 B14 linesraw
1error[E0616]: field `c_object` of struct `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 the macro `check_ptr_exist` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0616`.