]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-25386.stderr
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / ui / issues / issue-25386.stderr
1 error[E0616]: field `c_object` of struct `Item` is private
2   --> $DIR/issue-25386.rs:19:16
3    |
4 LL |         (*$var.c_object).$member.is_some()
5    |                ^^^^^^^^ private field
6 ...
7 LL |     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
12 error[E0616]: field `name` of struct `CObj` is private
13   --> $DIR/issue-25386.rs:26:43
14    |
15 LL |     println!("{}", check_ptr_exist!(item, name));
16    |                                           ^^^^ private field
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0616`.