fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
974 B25 linesraw
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`.