rust/tests/ui/issues/issue-25386.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
566 B
Plaintext
Raw Normal View History

error[E0616]: field `c_object` of struct `Item` is private
2020-03-22 18:18:06 +00:00
--> $DIR/issue-25386.rs:19:16
2018-07-15 21:11:54 +00:00
|
LL | (*$var.c_object).$member.is_some()
2020-03-22 18:18:06 +00:00
| ^^^^^^^^ private field
2018-07-15 21:11:54 +00:00
...
LL | println!("{}", check_ptr_exist!(item, name));
| ---------------------------- in this macro invocation
|
= note: this error originates in the macro `check_ptr_exist` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-07-15 21:11:54 +00:00
error: aborting due to 1 previous error
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0616`.